IT Community - Software Programming, Web Development and Technical Support

How do I keep people from stealing my source code and/or images?

This is a discussion on How do I keep people from stealing my source code and/or images? within the HTML, CSS and Javascript Coding Techniques forums, part of the Web Development category; How do I keep people from stealing my source code and/or images?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > HTML, CSS and Javascript Coding Techniques

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-27-2007, 03:17 AM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Question How do I keep people from stealing my source code and/or images?

How do I keep people from stealing my source code and/or images?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-27-2007, 03:55 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Default Re: How do I keep people from stealing my source code and/or images?

Because copies of your HTML files and images are stored in cache, it is impossible to prevent someone from being able to save them onto their hard drive. If you are concerned about your images, you may wish to embed a watermark with your information into the image. Consult your image editing program's help file for more details.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-09-2008, 08:58 PM
grace17 grace17 is offline
D-Web Trainee
 
Join Date: Oct 2008
Posts: 3
grace17 is on a distinguished road
Default Re: How do I keep people from stealing my source code and/or images?

The goal here is to prevent people from inlining your images directly from their web site, but accessing them only if they appear inline in your pages. This can be accomplished with a combination of SetEnvIf and the Deny and Allow directives.

------------------------------------
Grace

promotional products Tail Lights mens fragrance shop Sexual Predator List
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-18-2008, 02:19 AM
sakari sakari is offline
D-Web Trainee
 
Join Date: Sep 2008
Posts: 36
sakari is on a distinguished road
Default Re: How do I keep people from stealing my source code and/or images?

it is impossible to save your code. but i have a code that can disable right click. that can help for prevent your images. hope so.

Quote:
Here is the script to disable right click
Place this script on body

<script language="JavaScript" type="text/JavaScript">
function disableRightClick(e)
{
var message = " Ooopsss!!! \rRight click is disabled";

if(!document.rightClickDisabled) // initialize
{
if(document.layers)
{
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = disableRightClick;
}
else document.oncontextmenu = disableRightClick;
return document.rightClickDisabled = true;
}
if(document.layers || (document.getElementById && !document.all))
{
if (e.which==2||e.which==3)
{
alert(message);
return false;
}
}
else
{
alert(message);
return false;
}
}
disableRightClick();
</script>
Reply With Quote
thanks
__________________
free templates
web design company
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I hide the JavaScript source code from "view source" function of the browser? KiruthikaSambandam HTML, CSS and Javascript Coding Techniques 1 11-13-2007 09:17 PM
How do you colour code the source in the answers on alt-php-faq.org? itbarota PHP Programming 1 09-12-2007 12:56 AM
I have a C source to write iptc and exif metadata for raw images. How to use it in C# oxygen C# Programming 0 07-21-2007 02:56 AM
block the source code Alan HTML, CSS and Javascript Coding Techniques 5 04-23-2007 02:21 AM
Need help on not letting visitors view my source code oyu2o Web Design Help 2 03-15-2007 03:43 PM


All times are GMT -7. The time now is 09:29 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0