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!

block browser page source view

Status
Not open for further replies.

tomellis

Technical User
Jul 28, 2001
1
US
i have a password protect page in my site to block access
to certain pages..how do i stop the source code from being
view by the visitor to site?
 
Well, when I run into things like blocking a source code on a site, I usually put the source intself in another file and then reference that file from the file that they would view. Sure, they know the file name that contains that password, but if you put that in an area where the permissions don't allow anyone to look at it, then you have the solution itself.
 
to: JohnnyTwoTone

Thanks for you solution to my problem.
So simple and yet such a cool way to
work the source code...

regards,
tom ellis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top