Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Prohibiting access to web service resources?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Peter Olcott  
View profile   Translate to Translated (View Original)
 More options 6 Nov, 23:16
Newsgroups: microsoft.public.dotnet.framework.aspnet
From: "Peter Olcott" <NoS...@SeeScreen.com>
Date: Fri, 6 Nov 2009 17:16:09 -0600
Local: Fri 6 Nov 2009 23:16
Subject: Prohibiting access to web service resources?
I want to build my first web service and I need to know more
about security.
(I already posted to
microsoft.public.dotnet.framework.aspnet.security with no
response).

Specifically, I want to make it completely impossible for
any outside user to have any access to any of the files
stored on the web server. This is to include any data files,
and the web service code. How do I do this?


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Rae [MVP]  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 01:06
Newsgroups: microsoft.public.dotnet.framework.aspnet
From: "Mark Rae [MVP]" <m...@markNOSPAMrae.net>
Date: Sat, 7 Nov 2009 01:06:19 -0000
Local: Sat 7 Nov 2009 01:06
Subject: Re: Prohibiting access to web service resources?
"Peter Olcott" <NoS...@SeeScreen.com> wrote in message

news:efOdnTK_QM2nM2nXnZ2dnUVZ_tOdnZ2d@giganews.com...

> Specifically, I want to make it completely impossible for any outside user
> to have any access to any of the files stored on the web server. This is
> to include any data files, and the web service code. How do I do this?

The only way to make files *COMPLETELY* inaccessible is not to host them on
a public website in the first place.

There are lots of things you can do to increase the level of difficulty in
accessing certain files, but you simply cannot 100% guarantee complete
inaccessibility.

E.g. you can use any sort of password protection. But what if  by some
billion-to-one chance somebody guesses your password...?

--
Mark Rae
ASP.NET MVP
http://www.markrae.net


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott M.  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 03:11
Newsgroups: microsoft.public.dotnet.framework.aspnet
From: "Scott M." <s-...@nospam.nospam>
Date: Fri, 6 Nov 2009 22:11:49 -0500
Local: Sat 7 Nov 2009 03:11
Subject: Re: Prohibiting access to web service resources?

"Peter Olcott" <NoS...@SeeScreen.com> wrote in message

news:efOdnTK_QM2nM2nXnZ2dnUVZ_tOdnZ2d@giganews.com...

>I want to build my first web service and I need to know more about
>security.
> (I already posted to microsoft.public.dotnet.framework.aspnet.security
> with no response).

> Specifically, I want to make it completely impossible for any outside user
> to have any access to any of the files stored on the web server. This is
> to include any data files, and the web service code. How do I do this?

Every public web server strives to be secure, but that doesn't mean there is
any foolproof way to keep a hacker out.   The best you can do is do the best
you can do.

If you were going to host a web service on a Windows web server, you'd most
likely be serving it via IIS.  Data files in ASP .NET are typically best
placed in the App_Data folder, which is a folder that IIS knows not to grant
outside access to.  Your web.config file (or any file with a .config
extension) is also not served by IIS, and in a production environment, you
wouldn't have your source code (your .vb or .cs files) up on the server
anyway, you'd just have your compiled assembly (.dll), which is also kept in
a protected directory.

So, you really don't have to worry about the sensitive folders and files of
your web service being accessible to the outside world any more than you'd
worry about your entire server being hacked, which is not a .NET issue, but
a server security issue.

-Scott


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Olcott  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 13:41
Newsgroups: microsoft.public.dotnet.framework.aspnet
From: "Peter Olcott" <NoS...@SeeScreen.com>
Date: Sat, 7 Nov 2009 07:41:17 -0600
Local: Sat 7 Nov 2009 13:41
Subject: Re: Prohibiting access to web service resources?

"Mark Rae [MVP]" <m...@markNOSPAMrae.net> wrote in message
news:eLWq$Z0XKHA.4704@TK2MSFTNGP02.phx.gbl...

With a 14 character password of random characters it would
be
1 chance in 4,205,231,901,698,742,834,534,301,696.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Olcott  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 13:43
Newsgroups: microsoft.public.dotnet.framework.aspnet
From: "Peter Olcott" <NoS...@SeeScreen.com>
Date: Sat, 7 Nov 2009 07:43:08 -0600
Local: Sat 7 Nov 2009 13:43
Subject: Re: Prohibiting access to web service resources?

"Scott M." <s-...@nospam.nospam> wrote in message

news:usfgLf1XKHA.1268@TK2MSFTNGP04.phx.gbl...

Great how do I make files and folders inaccessible?

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott M.  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 14:28
Newsgroups: microsoft.public.dotnet.framework.aspnet
From: "Scott M." <s-...@nospam.nospam>
Date: Sat, 7 Nov 2009 09:28:12 -0500
Local: Sat 7 Nov 2009 14:28
Subject: Re: Prohibiting access to web service resources?

"Peter Olcott" <NoS...@SeeScreen.com> wrote in message

news:qfednY-IqNbz5GjXnZ2dnUVZ_oednZ2d@giganews.com...

Did you not read my message? Your App_Data folder, .dll and .config files
are already protected by IIS.  And, you would't publish your source code
files to the production server anyway. There's nothing you need to do to
make this stuff private.

Aside from this, you want to keep the server password private and emply a
strong hardware and software firewall scenario as you would on any
production public server.

-Scott


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google