Wedframe
03-02-2015, 05:36 PM
Hello! I need to hide direct link`s from my own(external for forum site) server. I don`t mean hide from unregistered users or from users from certaine usergroup. I want totally hide links from ALL users, but keep with the possibility to use this links... Some mode/hack or something else with which I can do the following:
I create post and put there link to my file:
Hello. This is link to my file http://domain.com/link/to/my/file.zip
During the save post, this mod/hack whatever... change the text of my link to something like this:
Hello. This is link to my file http://domain.com/somethig_else_text_what_replace_the_real_url
moreover in that case, user what will be click on replaced url, must be aimed on REAL link to my file and cant see this link(not in post and not in status bar of browser).
Another words, I want to prevent to possibility copy my link for sharing them on third-party resources. And... if bad-user)) decides to use my link on his website, this link must will first to bring to MY forum. And only after this(if user will be registered and logged in) redirect hi to my file.
I think the real url must be replaced with link to php-script, which will somehow extract real url(for example from sorce text of current post in DB), and after this redirect the user to my real url.
I understand what on my server I need to additionaly hide direct links... but this is another story )))
I will be grateful for any help or hint how to properly realize my task. Many thanks!
I create post and put there link to my file:
Hello. This is link to my file http://domain.com/link/to/my/file.zip
During the save post, this mod/hack whatever... change the text of my link to something like this:
Hello. This is link to my file http://domain.com/somethig_else_text_what_replace_the_real_url
moreover in that case, user what will be click on replaced url, must be aimed on REAL link to my file and cant see this link(not in post and not in status bar of browser).
Another words, I want to prevent to possibility copy my link for sharing them on third-party resources. And... if bad-user)) decides to use my link on his website, this link must will first to bring to MY forum. And only after this(if user will be registered and logged in) redirect hi to my file.
I think the real url must be replaced with link to php-script, which will somehow extract real url(for example from sorce text of current post in DB), and after this redirect the user to my real url.
I understand what on my server I need to additionaly hide direct links... but this is another story )))
I will be grateful for any help or hint how to properly realize my task. Many thanks!