Re: Protecting files on the server.
- From: "S. Justin Gengo" <justin@[no_spam_please]aboutfortunate.com>
- Date: Mon, 19 Dec 2005 09:08:21 -0600
Jeff,
You could turn off anonymous access on the website and use only integrated
security. Integrated security uses encrypted user names and passwords. Then
create a username and password for your application to use when it makes the
webrequest for a file in question. You can create a Credential object that
the webrequest may use in order to authenticate to the website.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"UJ" <fred@xxxxxxxxxxx> wrote in message
news:uOqousKBGHA.628@xxxxxxxxxxxxxxxxxxxxxxx
> Eliyahu,
> I'm not sure I understand you. That is essentilly what we already do. The
> problem is when the program goes out to our server to get the file, the
> files are unprotected on our server. I guess the question becomes how
> should I protect the files on the server so the program and only the
> program can access them.
>
> Jeff.
>
> "Eliyahu Goldin" <removemeegoldin@xxxxxxxxxxxxxx> wrote in message
> news:%23TJhdHKBGHA.1676@xxxxxxxxxxxxxxxxxxxxxxx
>> Jeff,
>>
>> Another solution is to have the users authenticated in the program and
>> have the files sitting in a local directory that the program will be the
>> only way of getting to the files from outside.
>>
>> Eliyahu
>>
>> "UJ" <fred@xxxxxxxxxxx> wrote in message
>> news:ujLN5nJBGHA.2704@xxxxxxxxxxxxxxxxxxxxxxx
>>> Folks,
>>> We provide custom content for our customers. Currently we put the files
>>> on our server and people have a program we provide that will download
>>> the files. These files are usually SWF, HTML or JPG files. The problem
>>> as I see it - if you know the name of the file, you could download it
>>> off the server (currently we are using an HTTP/Get but I'm going to be
>>> using WebClient in the new version.)
>>>
>>> If there any way to password protect the file so people can't just
>>> download them even if they know the file name?
>>>
>>> The solutions I've come up with are:
>>>
>>> 1. Store the file in the database as a blob and read it (but this could
>>> get slow as we will eventually add video which could get really big - up
>>> to 100MB).
>>>
>>> 2. Write a web service that will transfer the file back that has a
>>> password on it.
>>>
>>> Any other suggestions?
>>>
>>> TIA - Jeff
>>>
>>>
>>
>>
>
>
.
- References:
- Protecting files on the server.
- From: UJ
- Re: Protecting files on the server.
- From: Eliyahu Goldin
- Re: Protecting files on the server.
- From: UJ
- Protecting files on the server.
- Prev by Date: mobile asp.net app
- Next by Date: Re: Protecting files on the server.
- Previous by thread: Re: Protecting files on the server.
- Next by thread: Re: Protecting files on the server.
- Index(es):
Relevant Pages
|