I want to add ip address permission to my document file by PHP code. For example i have a document 'myDocument.doc', I run my php code to add ip address access permission on this file, By this, that particular ip address can opens my document, If any other ip wants to open this file a alert message will be shown.
Can any body tell me this is possible or not, If this is possible how i can do this.
Explanation:- If i restrict a file for a particular ip. That ip can download that file and read this, This is ok. But if user send this file to another user, they also can open this file because there is no restrication for their ip after download that file. I want another users cant use that file, Because he doesn't pay for this. May be now you understand what i want to do