How to make a file write protected?

ithehappy

Human Spambot
I wanna give away an app to a person which i would like to be write protected. I mean, i won't allow the person to have the option to share it with other persons. How can i do that?
Is it only possible with CD/DVD? or as well with Pen drive or other storage devices?
Please inform me, i really need it.

TIA.
 

dashing.sujay

Moving
Staff member
I remember there was a trick to do that via DOS back in days of win 2000. Can't say of now. I tried hard to find that trick, but of no avail.
 

RCuber

The Mighty Unkel!!!
Staff member
not possible.. what ever file you build is just a file. a file can be copied.. it up to you to add protection inside the application(read License key) .. welcome to the world of DRM .
 
OP
ithehappy

ithehappy

Human Spambot
Yes, a file can be copied, but can't i write protect the media, say the cd/dvd? I heard there are some write protected cd's!!
 

RCuber

The Mighty Unkel!!!
Staff member
Yes, a file can be copied, but can't i write protect the media, say the cd/dvd? I heard there are some write protected cd's!!

copy protection in CD/DVD are there .. but that done when manufacturing .. check this Compact Disc and DVD copy protection - Wikipedia, the free encyclopedia

companies spend millions of $$$ to make their content copy protected.. but still they get circumvented.. how does the DVD/bluray Rips come out?? ;)

so make a file copy protected will be a waste of time.. but where you can succeed is by putting licensing logic into ones application..

there are couple of ways to do it.. let me know if you want to know about it.. also please mention if your app is a windows app or a mobile app.
 
Last edited:

RCuber

The Mighty Unkel!!!
Staff member
As we are discussing about a single file, its not possible to make it copy protected
 

RCuber

The Mighty Unkel!!!
Staff member
^How will it work on first hand ?

I don't recall. But I do recall I had a hard time deleting a virus of my computer in those DOS era. IIRC it can be done by setting it as readonly+system+hidden, as before I cannot recall the exact attribute used.
 

Rajesh345

Youngling
I don't recall. But I do recall I had a hard time deleting a virus of my computer in those DOS era. IIRC it can be done by setting it as readonly+system+hidden, as before I cannot recall the exact attribute used.


Not sure about virus,but normal file hidden ,system R.only can be removed via

attrib -r -s -h

>attrib -r -a -s -h 1.txt
 
Top Bottom