Jump to content

Is there a way to prevent the user to execute a file if he knows path?


elisa05fr

Recommended Posts

Thanks for your quick answer... I am using a frame because I want to hide part of the code..... nothing important really but I am using pop up effect page and I would like to hide all the information put in those pop up pages.. that's why I am using a frame.....

 

What do you mean by "use serve side includes instead" ??

 

Thank you for your help

Link to comment
Share on other sites

You cannot hide your code - anybody who knows just a little about HTML will be able to find it -and the others don't care, anyway.

 

http://www.killersites.com/mvnforum/mvnforum/viewthread?thread=4258

 

http://www.killersites.com/forums/topic/357/repeating-sections-of-code-on-many-pages/

Link to comment
Share on other sites

One thing that *could* be done is to have an Include file of php code to check the Refferring page to make sure that the access for the page is from your Domain. If someone tries to hotlink the page, and the referral is from another site, or direct, they are sent to your Index page. But you need to know some php to code the script.

Link to comment
Share on other sites

One thing that *could* be done is to have an Include file of php code to check the Refferring page to make sure that the access for the page is from your Domain. If someone tries to hotlink the page, and the referral is from another site, or direct, they are sent to your Index page. But you need to know some php to code the script.

... and anyone with basic knowledge of javascript could obtain a copy of your code with nothing more than Internet Explorer. There is no way to protect client-side code on the web. At all.

Edited by lwsimon
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...