HighDots Forums  

Re: Website security??

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: Website security?? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alan
 
Posts: n/a

Default Re: Website security?? - 06-27-2004 , 08:21 AM







Quote:
1. Do not allow user to right-click on an image and save it or email
it. Basically disabling those 2 menu items or don't show the menu
alltogether.
there are JavaScripts to do this- they are pointless to bother with though.
If you want to use one, http://continue.to/hope will have an example or you
can use http://groups.google.com and search on
dreamweaver right-click script
Quote:
2. Do not allow the user access the image by typing the complete url
in the address.

Is it possible? If yes, how??
Yes. If on windows server hosting i'm not sure.
If on Apache hosting, you can control it will .htaccess and mod_rewrite
http://www.google.com/search?hl=en&ie=ISO-8859-1&q=.htaccess+hotlink+tutoria
l


Note- Many Control Panels have a button for "Hotlink Protection"
That will do this- But many of those methods will cause red x's for missing
images on the first page a visitor looks at...


Quote:
Thanks,
Ivan


Reply With Quote
  #2  
Old   
Michael Fesser
 
Posts: n/a

Default Re: Website security?? - 06-28-2004 , 10:44 AM






.oO(Alan)

Quote:
2. Do not allow the user access the image by typing the complete url
in the address.

Is it possible? If yes, how??

Yes.
Depends.

Quote:
If on Apache hosting, you can control it will .htaccess and mod_rewrite
http://www.google.com/search?hl=en&ie=ISO-8859-1&q=.htaccess+hotlink+tutoria
l

Note- Many Control Panels have a button for "Hotlink Protection"
That will do this- But many of those methods will cause red x's for missing
images on the first page a visitor looks at...
Then the script is broken. Such "hotlink protections" usually rely on
the referrer sent by the user's browser, but there are some scenarios
where no referrer is available, so the script has to work like this:

if referrer is not empty and does not point to our website then
deny access
else
allow access

This doesn't prevent users from directly requesting an image URL.

Micha


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.