code viewing...

M

Maljonic

Guest
Is there a way to stop people viewing the code on your web pages?

P.S. I still need help with the guestbook on the Bloggs thread:)
 
U

[UKLans]Khan

Guest
People will not be able to see code like PHP and ASP beacuse they are what we call server side scripting languages. This means that they are not passed to the client (Browser) and that they are run on the server and they only send HTML.

On the other hand you have client side scripting, like Javascript. Because Java executes "client side" i.e on the visitors browser. The server has to send the code and the user can see the source.

Ther are however some bits on Javascript that disallow people from viewing the source... but I think there are always ways around this.

To be perfectly honist, you should not worry about people seeing the code and just secure all the bits you don't want people to see in a relavant way.

Hope this helps.

Khan
 
M

Maljonic

Guest
I'm not really bothered about people seeing the code; I just wanted to have a little secret link for a laugh, but it would be easy to spot by viewing the code... never mind:)
 

Users who are viewing this thread

Top Bottom