Open Password protected file
-
Hai friends, Can open a
password protected
file for uploading and streamming.I want to implement in webapplication.IF it's can u tell me that solution :confused: Thanks in advance. Cheer, MAHESH.K
-
Hai friends, Can open a
password protected
file for uploading and streamming.I want to implement in webapplication.IF it's can u tell me that solution :confused: Thanks in advance. Cheer, MAHESH.K
Password protected in what way? Is the file system denying access unless you have the correct credentials? Is the file itself encrypted and you need the correct key to decrypt it? Is it some other way?
User group: Scottish Developers Blog: Can Open... Worms? Everywhere! Quote: Man who stand on hill with mouth open wait long time for roast duck to drop in.
-
Password protected in what way? Is the file system denying access unless you have the correct credentials? Is the file itself encrypted and you need the correct key to decrypt it? Is it some other way?
User group: Scottish Developers Blog: Can Open... Worms? Everywhere! Quote: Man who stand on hill with mouth open wait long time for roast duck to drop in.
No. Just i goona upload a password protected file. at that time i wanna promot message box for feeding password
-
No. Just i goona upload a password protected file. at that time i wanna promot message box for feeding password
Okay - So, I still don't understand in which way the file is actually protected. Saying it is "password protected" is too vague as there are a multitude of ways in which a "password" could be applied to a file. I'm going to assume that you can access the file (so it isn't the file system provding the "password protection"). You just upload the file as you would any other file. There is no difference. You want to promt the user for the password? At what point? Before uploading? After uploading? Does it matter because it is just a text box. Now, what you do with the what the user has given you in the text box and the file is probably the bit you are really after. Uploading files, and getting the contents of a text box are simple. Right? Accessing "password protected" data is the difficult bit. So, my question remains: Exactly how is the file password protected? What is the mechanism for protection. The password is the key, but unless you know how the lock works, how do you know what to do with the key?
User group: Scottish Developers Blog: Can Open... Worms? Everywhere! Quote: Man who stand on hill with mouth open wait long time for roast duck to drop in.
-
Okay - So, I still don't understand in which way the file is actually protected. Saying it is "password protected" is too vague as there are a multitude of ways in which a "password" could be applied to a file. I'm going to assume that you can access the file (so it isn't the file system provding the "password protection"). You just upload the file as you would any other file. There is no difference. You want to promt the user for the password? At what point? Before uploading? After uploading? Does it matter because it is just a text box. Now, what you do with the what the user has given you in the text box and the file is probably the bit you are really after. Uploading files, and getting the contents of a text box are simple. Right? Accessing "password protected" data is the difficult bit. So, my question remains: Exactly how is the file password protected? What is the mechanism for protection. The password is the key, but unless you know how the lock works, how do you know what to do with the key?
User group: Scottish Developers Blog: Can Open... Worms? Everywhere! Quote: Man who stand on hill with mouth open wait long time for roast duck to drop in.
I'll continue with thanks in net if we upload any file using file upload control,it won't ask for any protection. I need to apply password when i click on upload control.No one can open open or download with out knowing that password.Thank u once again for your consideration. Cheer, MAHESH.K
-
I'll continue with thanks in net if we upload any file using file upload control,it won't ask for any protection. I need to apply password when i click on upload control.No one can open open or download with out knowing that password.Thank u once again for your consideration. Cheer, MAHESH.K
-
I'll continue with thanks in net if we upload any file using file upload control,it won't ask for any protection. I need to apply password when i click on upload control.No one can open open or download with out knowing that password.Thank u once again for your consideration. Cheer, MAHESH.K
MaheshSelva wrote:
No one can open open or download with out knowing that password.
Now that is different from what you seemed to be asking for. Basically, you want a web application to provide password protection so that no one can download the file unless they are already authenticated with the site and authorised to do so. You may want to look at Forms Authentication[^]. You then want to look at using an ASPX page to stream the file. Something like this: http://forums.asp.net/t/1263188.aspx[^], but with an authorisation check before it actually streams anything out.
User group: Scottish Developers Blog: Can Open... Worms? Everywhere! Quote: Man who stand on hill with mouth open wait long time for roast duck to drop in.