I'm running online premium themes selling site. I upload site on the link http://yoursite.com/demo/ to show as DEMO.
I'm scared if some one download those files from my server.
Is it possible to download each files or scripts from http://yoursite.com/demo/ link by using some offline browsers softwares?
how can i protect these files. Can I password protect the files and at the same display on DEMO link...?
It depends, do you want the files so no-one else can view them, if so then you can password protect the folder so only you (or people with access) can visit those pages. However if you want to prevent people downloading scripts (etc) from a publicly accessible website out of fear of them using them elsewhere... no such luck, that's impossible. As soon as files reach the end users computer when visiting pages... they become vulnerable to usage.
I'm afraid persons will be able to save whole source of your templates without any problems.
are they wordpress themes or something else?
I found you cannot get the full wordpress theme if you host demos just showing the design. Although you can download some of the files outside of the wp- folders.
Yes, PHP functions won't be available, but I mean source of TEMPLATES. This one will be fully downloadable