Secure. I don't want to grant access to the world to be able to drop files
on the server.
What I want to do is be able to connect to the server with write access,
create a file on the server then remove the write access so the only time
anything can be written to this folder is during the time I create the file.
Here's another way of looking at it. I user on the web site fills in some
fields to create a custom web page. When they hit save the web page is saved
to the server. Once the page is saved the app will send an email to the user
with the link to their new page.
I hope this makes sense.
"Kevin Spencer" <ke***@takempis.com> wrote in message
news:OV*************@TK2MSFTNGP11.phx.gbl...
Your original question was "What is the safest way to create a file on the
server?" That is what is unclear. What do you mean by "safe" and what was
the meaning of all that other pseudocode you put into your question?
--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Joe Bonavita" <JBonavita_@_caminus.com> wrote in message
news:OK*************@TK2MSFTNGP11.phx.gbl... I want to create a file on the server (which becomes a new page) based
on the input from a user. Once the user fills out some data a html file
will be created and the link to this file will be emailed to them.
"Kevin Spencer" <ke***@takempis.com> wrote in message
news:ud**************@TK2MSFTNGP10.phx.gbl... Can you be more specific?
--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Joe Bonavita" <JBonavita_@_caminus.com> wrote in message
news:On**************@tk2msftngp13.phx.gbl...
> What is the safest way to create a file on the server? I'm looking
for > something like:
>
> secureconnection();
> // create the file
> disconnect();
>
>