Welcome to Dream.In.Code
Become an Expert!

Join 149,835 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,498 people online right now. Registration is fast and FREE... Join Now!




Disabling file>save as without chromless windows

 
Reply to this topicStart new topic

Disabling file>save as without chromless windows

BlueCube
16 Feb, 2007 - 01:46 PM
Post #1

THIS IS SPARTAAA
Group Icon

Joined: 19 Feb, 2002
Posts: 3,594


Dream Kudos: 70
My Contributions
all in all. I have a flash slide show that loads a new html window separately. I have right click disabled, but need to disable file>save as, as well. A chromeless window could solve this, but I can't really launch a chromeless window from flash.

Any ideas?
User is offlineProfile CardPM
+Quote Post

BlueCube
RE: Disabling File>save As Without Chromless Windows
16 Feb, 2007 - 01:57 PM
Post #2

THIS IS SPARTAAA
Group Icon

Joined: 19 Feb, 2002
Posts: 3,594


Dream Kudos: 70
My Contributions
OR, if there is a way to make the images so they cannot save when some does a file > save as
User is offlineProfile CardPM
+Quote Post

haveacigar
RE: Disabling File>save As Without Chromless Windows
16 Feb, 2007 - 03:24 PM
Post #3

New D.I.C Head
*

Joined: 3 Feb, 2007
Posts: 15


My Contributions
There isnt a way to do this. Even disabling right click, if i really want your content, i can just view --> page source or disable the javascript. In a chromeless window i just press ctrl + n and it opens in a new window.
Anyway if the images are saved in a flv file many people wont have the software to play it.
User is offlineProfile CardPM
+Quote Post

Arbitrator
RE: Disabling File>save As Without Chromless Windows
16 Feb, 2007 - 05:23 PM
Post #4

D.I.C Regular
Group Icon

Joined: 26 Jan, 2005
Posts: 492



Thanked: 2 times
My Contributions
If you put content on the Internet for people to view, someone can get to it; it’s as simple as that. You can get around it with something as trivial as View Source or by pressing the menu key on a keyboard. If that fails, you can still disable JavaScript or access the browser cache.

Disabling right‐clicking annoys people and stops only users that are not tech savvy or those that give up easily, at best.
User is offlineProfile CardPM
+Quote Post

BlueCube
RE: Disabling File>save As Without Chromless Windows
19 Feb, 2007 - 06:46 AM
Post #5

THIS IS SPARTAAA
Group Icon

Joined: 19 Feb, 2002
Posts: 3,594


Dream Kudos: 70
My Contributions
Everyone time this question arises, everyone always responds with a lecture about how you can't protect it, anyone can get around it, don't try it. ETC

One thing you have to remember is there are clients that want certain things. In this case, and 80 year man with lots of money. He knows what he wants.

In essence, as long as I can show him that he can print, screen capture, copy, etc from the basic easy ways, he's happy. It's copywritten material that is very valuable.

For my stuff, I would never do all this crap. but it's for him

I think I figured it out though, if all worked, I'll post the solution for the flash/picture/html/chromeless etc
User is offlineProfile CardPM
+Quote Post

William_Wilson
RE: Disabling File>save As Without Chromless Windows
19 Feb, 2007 - 07:08 AM
Post #6

lost in compilation
Group Icon

Joined: 23 Dec, 2005
Posts: 4,101



Thanked: 25 times
Dream Kudos: 3275
Expert In: Java, C, Javascript

My Contributions
It's understandable, a determined web savvy person can always get it, but yes the general public can be detered quite easily, and probably should be if possible.
Could you not load the url of the file into a frameless window with js? This would also require atleast for part of the viewing that js be enabled?
User is offlineProfile CardPM
+Quote Post

BlueCube
RE: Disabling File>save As Without Chromless Windows
19 Feb, 2007 - 08:26 AM
Post #7

THIS IS SPARTAAA
Group Icon

Joined: 19 Feb, 2002
Posts: 3,594


Dream Kudos: 70
My Contributions
QUOTE(William_Wilson @ 19 Feb, 2007 - 08:08 AM) *

It's understandable, a determined web savvy person can always get it, but yes the general public can be detered quite easily, and probably should be if possible.
Could you not load the url of the file into a frameless window with js? This would also require atleast for part of the viewing that js be enabled?


The image is within a flash slide show, I'm not too flash savy. Then I realized I was using an XML file to pull the images, and also link out to the actual .jpgs larger, outside the slide show.

Can I put JS inside an XML file ok? I could load chromeless windows from there


User is offlineProfile CardPM
+Quote Post

haveacigar
RE: Disabling File>save As Without Chromless Windows
19 Feb, 2007 - 05:20 PM
Post #8

New D.I.C Head
*

Joined: 3 Feb, 2007
Posts: 15


My Contributions
Well what you could do is embed the swf in an html file then encode the html. People couldnt click file --> save as, and it would confuse people looking through the source... but people could still download in firefox...

encode with this
http://centricle.com/tools/html-entities/
User is offlineProfile CardPM
+Quote Post

BlueCube
RE: Disabling File>save As Without Chromless Windows
20 Feb, 2007 - 06:14 AM
Post #9

THIS IS SPARTAAA
Group Icon

Joined: 19 Feb, 2002
Posts: 3,594


Dream Kudos: 70
My Contributions
I think I've got it pretty well work

Basically, it's floor plans.

If you right click the slideshow within the HTML file and print, it prints a blank page
If you file>print, it prints a blank page.
CNTRL/ALT etc is disabled
If you screen shot, nothing appears when you paste (constantly clears cache)

You then click the flash image to open a large .jpg in an HTML window and everything is the same.

ALSO, in IE, you choose to diable all the javascript, to get around it. So I used Javascript to disable the image. It won't view without javascript being enabled, hence the code. I haven't finished testing, but I'm pretty damned sure I'm getting close.

I know anyone can hack it, it's easy. But I've never done this much crap to one page, and it's pretty freaking hard for your average user! :-)
User is offlineProfile CardPM
+Quote Post

William_Wilson
RE: Disabling File>save As Without Chromless Windows
20 Feb, 2007 - 07:01 AM
Post #10

lost in compilation
Group Icon

Joined: 23 Dec, 2005
Posts: 4,101



Thanked: 25 times
Dream Kudos: 3275
Expert In: Java, C, Javascript

My Contributions
that's the best you can hope for sadly. Good job getting this far though smile.gif
User is offlineProfile CardPM
+Quote Post

BlueCube
RE: Disabling File>save As Without Chromless Windows
20 Feb, 2007 - 08:26 AM
Post #11

THIS IS SPARTAAA
Group Icon

Joined: 19 Feb, 2002
Posts: 3,594


Dream Kudos: 70
My Contributions
QUOTE(William_Wilson @ 20 Feb, 2007 - 08:01 AM) *

that's the best you can hope for sadly. Good job getting this far though smile.gif


Ya, now time to figure out why IE 6.0 is saying I got errors on my page, but no other browser does (not even IE 7 <--- hate. hate. hate.) hehe :cracks knuckles:
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 09:49AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month