Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable Edit Button

Status
Not open for further replies.

JoaoTL

Programmer
Jun 14, 2001
278
PT
Hi, how to disable edit button from IE and NEtscape when someone link to my site?, Thanks -------------------------
Regards
JoaoTL
-------------------------

 
I'm not sure if it is possible to disable the Edit option in browsers (I would imagine it is not) - besides, unless the visitor has write access to the server, they cannot make any changes anyway (try it yourself, try to Edit or
 
Sorry, i think i was not very explicite, because i forgot to put the word HTML "HOW TO DISABLE EDIT HTML BUTTON FROM BROWSERS" -------------------------
Regards
JoaoTL
-------------------------

 
:) What I posted previously still stands: visitors can Edit HTML on their PCs, but unless they have the right access to your site, they cannot post the changes.
 
Sorry again, My English is not the best, but i have seen in many sites this feature, what i want to do is hide the HTML in order to prevent others to see a script that have the password entry to another URL, i think disable rigth key is not the solution is always a way to see the source, my problem is not others make changes but see the HTML, as you can see HTML programing is not what i do best:))

Sorry for the miss understanding. -------------------------
Regards
JoaoTL
-------------------------

 
Forget trying to hide anything you send. It is impossible. Once it gets to the browser it is viewable any number of ways. On the IE toolbar there is View / Source (right click not needed). I could view it with the Web Browser control that comes with VB6.
 
John is absolutely right, but if you are wanting to keep the password from being seen in the code, try storing the password in another location - if you are using javascript, code the script in a seperate .js file and include the following code in your HTML
<script language=&quot;JavaScript&quot; src=&quot;myscript.js&quot;></script>

Other options you might want to explore are using a database to store username/password combinations, using NTFS protection on the file/folder you are trying to protect (if you are using NT/2000 as the server) or set up a .htaccess file (if you are using a LINUX/UNIX server).
 
Thanks Very Much to all. All replays was vey usefull. If anyone know any links to learn about database interface in HTML (Without FP Extensions) leat me know.

Thanks -------------------------
Regards
JoaoTL
-------------------------

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top