Bruce C wrote:Hi Adam,
I'm confused about what kinds of users you want to be able to access this. I'm guessing that you are selling access to the page that you would like the users to be able to access, which would mean that you could simply create a page, and protect it with custom capability, say 's2_lock_username' (username being replaced by the real username), and run a simple process in your s2hacks.php file to automatically give a user a custom capability based on their username.
Would that work?
hi Bruce, thanks for replying, but what I am facing is not so, let me explain in a bit more detail as I did in another post:
there is a loop hole after I try to combine Custom Capabilities and Download restrictions:
Situation is like this:
-I want: Restrict the file downloadable for ONLY specific free subscribed user.
-I achieved: Restrict the file downloadable for ONLY specific user by putting the link into the client's area page and restrict the file download for level 0 (which I suppose to setup since I don't want the client to pay) and unlimited download.
-the concern: however,in this case, if anyone has the link on the page and is a registered the user, regardless its may not possible, but still, it can be shared without been login as specific user. One can get access by just been an level 0 user also.
May I have your suggestion on such situation so that I can actually achieve the goal of been able to let the file downloadable ONLY for one user specifically while even other registered user obtain the link in the same level can not download such file?