Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Database request support from normal user in their VD

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  apache and suexec problem  
Author Message
alant

External


Since: Nov 15, 2004
Posts: 16



(Msg. 1) Posted: Tue Feb 15, 2005 1:23 am
Post subject: Database request support from normal user in their VD
Archived from groups: microsoft>public>inetserver>iis (more info?)

I've setup an IIS 6.0 server and allow users running with ASP & ASP.NET in
their virtual directories. However, some users request to use database under
their VD. I know that if I customize the anonymous user account on particular
folder/file under their VD that can allow anonymous user from web browser to
write data into their database file (e.g. *.mdb). Is it the only way to
support them?

In additional, I read some materials about "Data Source Name (DSN)". Is it a
choice for user or for administrator to hold a web server that support
database?

Thanks,
Alan

 >> Stay informed about: Database request support from normal user in their VD 
Back to top
Login to vote
user1580

External


Since: Apr 03, 2004
Posts: 367



(Msg. 2) Posted: Fri Feb 25, 2005 4:35 am
Post subject: Re: Database request support from normal user in their VD [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Alan T" <AlanT.DeleteThis@discussions.microsoft.com> wrote in message
news:61A88E88-3D4D-41FA-ADDF-A1AF29D432E8@microsoft.com...
 > I've setup an IIS 6.0 server and allow users running with ASP & ASP.NET in
 > their virtual directories. However, some users request to use database
under
 > their VD. I know that if I customize the anonymous user account on
particular
 > folder/file under their VD that can allow anonymous user from web browser
to
 > write data into their database file (e.g. *.mdb). Is it the only way to
 > support them?


You also can use 'Authenticated Users' instead of the anonymous user... But
decide carefully. It's not wise, to allow Access databases by the way.
That's because Access simply is not designed for HTTP traffic.

 > In additional, I read some materials about "Data Source Name (DSN)". Is it
a
 > choice for user or for administrator to hold a web server that support
 > database?

DSNs are stored in the registry and require a lot of extra administrative
work.
Better is it, to use a Ole Db connection string

myDB = "Data Source=" + Server.MapPath("datadir/yourdatabase.mdb") +
";provider=Microsoft.Jet.Oledb.4.0;"

--

ISP Session; Session replacement for ASP + ASP.NET
<a style='text-decoration: underline;' href="http://www.nieropwebconsutl.nl/asp" target="_blank">http://www.nieropwebconsutl.nl/asp</a>

 > Thanks,
 > Alan<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Database request support from normal user in their VD 
Back to top
Login to vote
alant

External


Since: Nov 15, 2004
Posts: 16



(Msg. 3) Posted: Fri Feb 25, 2005 4:35 am
Post subject: Re: Database request support from normal user in their VD [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Egbert Nierop,

Thanks for your reply first.

However, how do I know whether my server supports "Ole Db connection string"
or related string/methods for users?

"Egbert Nierop (MVP for IIS)" wrote:

 >
 > "Alan T" <AlanT.TakeThisOut@discussions.microsoft.com> wrote in message
 > news:61A88E88-3D4D-41FA-ADDF-A1AF29D432E8@microsoft.com...
  > > I've setup an IIS 6.0 server and allow users running with ASP & ASP.NET in
  > > their virtual directories. However, some users request to use database
 > under
  > > their VD. I know that if I customize the anonymous user account on
 > particular
  > > folder/file under their VD that can allow anonymous user from web browser
 > to
  > > write data into their database file (e.g. *.mdb). Is it the only way to
  > > support them?
 >
 >
 > You also can use 'Authenticated Users' instead of the anonymous user... But
 > decide carefully. It's not wise, to allow Access databases by the way.
 > That's because Access simply is not designed for HTTP traffic.
 >
  > > In additional, I read some materials about "Data Source Name (DSN)". Is it
 > a
  > > choice for user or for administrator to hold a web server that support
  > > database?
 >
 > DSNs are stored in the registry and require a lot of extra administrative
 > work.
 > Better is it, to use a Ole Db connection string
 >
 > myDB = "Data Source=" + Server.MapPath("datadir/yourdatabase.mdb") +
 > ";provider=Microsoft.Jet.Oledb.4.0;"
 >
 > --
 >
 > ISP Session; Session replacement for ASP + ASP.NET
<font color=purple> > <a style='text-decoration: underline;' href="http://www.nieropwebconsutl.nl/asp</font" target="_blank">http://www.nieropwebconsutl.nl/asp</font</a>>
 >
  > > Thanks,
  > > Alan
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Database request support from normal user in their VD 
Back to top
Login to vote
user1580

External


Since: Apr 03, 2004
Posts: 367



(Msg. 4) Posted: Sat Feb 26, 2005 8:35 am
Post subject: Re: Database request support from normal user in their VD [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Alan T" <AlanT.DeleteThis@discussions.microsoft.com> wrote in message
news:943CEB5C-49E6-4469-B5EC-CB604E92CAB7@microsoft.com...
 > Hi Egbert Nierop,
 >
 > Thanks for your reply first.
 >
 > However, how do I know whether my server supports "Ole Db connection
 > string"
 > or related string/methods for users?

It's even difficult -not- to support ole db. By default, a windows 2000 and
2003 support Ole Db out of the box. However, it is a best practice, to
update MDAC to the most recent version.


In addition, the question is , if you have the JET Ole Db Driver on your
system.

First install the most recent MDAC
<a style='text-decoration: underline;' href="http://www.microsoft.com/downloads/details.aspx?FamilyID=6c050fe3-c795-4b7d-b037-185d0506396c&DisplayLang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyID=6c050fe3-c795...7d-b037</a>
Then install JET

(for XP:
<a style='text-decoration: underline;' href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2deddec4-350e-4cd0-a12a-d7f70a153156&DisplayLang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyID=2deddec4-350e...d0-a12a</a>)
or for Windows 2000
<a style='text-decoration: underline;' href="http://www.microsoft.com/downloads/details.aspx?FamilyID=1e268b39-533e-48b0-b8d7-1781befde1f8&DisplayLang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyID=1e268b39-533e...b0-b8d7</a>
or for Windows 2003
<a style='text-decoration: underline;' href="http://www.microsoft.com/downloads/details.aspx?FamilyID=97bc8126-5c60-44bc-a2ce-1e40c7fe2b34&DisplayLang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyID=97bc8126-5c60...bc-a2ce</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Database request support from normal user in their VD 
Back to top
Login to vote
alant

External


Since: Nov 15, 2004
Posts: 16



(Msg. 5) Posted: Mon Feb 28, 2005 6:59 pm
Post subject: Re: Database request support from normal user in their VD [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Then, any relationship between OLE DB & JET? Any materials talking about
database support on Win2000/2003 that can refer on web?

"Egbert Nierop (MVP for IIS)" wrote:

 > "Alan T" <AlanT.DeleteThis@discussions.microsoft.com> wrote in message
 > news:943CEB5C-49E6-4469-B5EC-CB604E92CAB7@microsoft.com...
  > > Hi Egbert Nierop,
  > >
  > > Thanks for your reply first.
  > >
  > > However, how do I know whether my server supports "Ole Db connection
  > > string"
  > > or related string/methods for users?
 >
 > It's even difficult -not- to support ole db. By default, a windows 2000 and
 > 2003 support Ole Db out of the box. However, it is a best practice, to
 > update MDAC to the most recent version.
 >
 >
 > In addition, the question is , if you have the JET Ole Db Driver on your
 > system.
 >
 > First install the most recent MDAC
<font color=purple> > <a style='text-decoration: underline;' href="http://www.microsoft.com/downloads/details.aspx?FamilyID=6c050fe3-c795-4b7d-b037-185d0506396c&DisplayLang=en</font" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyID=6c050fe3-c795...7d-b037</a>>
 > Then install JET
 >
 > (for XP:
 > <a style='text-decoration: underline;' href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2deddec4-350e-4cd0-a12a-d7f70a153156&DisplayLang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyID=2deddec4-350e...d0-a12a</a>)
 > or for Windows 2000
<font color=purple> > <a style='text-decoration: underline;' href="http://www.microsoft.com/downloads/details.aspx?FamilyID=1e268b39-533e-48b0-b8d7-1781befde1f8&DisplayLang=en</font" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyID=1e268b39-533e...b0-b8d7</a>>
 > or for Windows 2003
 > <a style='text-decoration: underline;' href="http://www.microsoft.com/downloads/details.aspx?FamilyID=97bc8126-5c60-44bc-a2ce-1e40c7fe2b34&DisplayLang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyID=97bc8126-5c60...bc-a2ce</a>
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Database request support from normal user in their VD 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
User/pass Request on same IIS - Hi I just prepare two laboratories with W2003 and IIS6.0 and i open two windows integrated restricted web sites on each laboratory. When i go to Machine1/Web1 on my Internet Explorer the IIS request User,pass and domain. Well, if i change the url ..

How to redirect every user request like anything.mydomain... - Hello. Please, help me resolve this problem: I've got domain, i.e. mydomain.com and one www site - www.mydomain.com Now i'm redirecting every user request like www.mydomain.com, mydomain.com blahblah.mydomain.com,..

Normal for COM objects to stay resident in IIS? - I am developing a COM object that is used by the server in an ASP page. I am not able to rebuild the COM object on the same server machine because once it is used once, IIS does not release it. I am forced to restart IIS in order to free the COM object. ...

Is this iisstate dump file normal. Server Slowing down. - Hi, if anyone has some time to check the following output of iisstate.exe on the inetinfo PID I would really appreciate it. This is the first time I have run the application and I am not 100% familiar with how to interpert the results. Thanks for any..

IIS 6.0 OS Support - Can anyone please let me know whether IIS 6.0 can run on Windows 2000 Server? Or Please point me to a page where I can find the supported platforms matrix for IIS 6.0
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]