473,403 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Application with DB Server not having direct access

Here is my setup.

Netgear Router with a webserver and database server NAT'd behind the
firewall.

Microsoft Windows 2000, IIS 5 - Web Server
Microsoft Windows 2000, MySQL - Database Server

What I would like to have is a web application served up off my WS
(web server) and that application access my DS (db server) without
giving direct access to the user, so in this case, the DS is not
accessible by the users on the internet, to keep it secure.

I would like to build this with ASP is there a way to do this with
MySQL and ASP?

Thanks
Chuck
Jul 19 '05 #1
3 2183
If your webserver and database server are on the same side of the firewall,
there's no issue. Just don't forward anything from the firewall to your db
server. There isn't any reason to, since the webserver is on the same side
as the db server.

Ray at work

"Chuck" <cv******@dslextreme.com> wrote in message
news:43**************************@posting.google.c om...
Here is my setup.

Netgear Router with a webserver and database server NAT'd behind the
firewall.

Microsoft Windows 2000, IIS 5 - Web Server
Microsoft Windows 2000, MySQL - Database Server

What I would like to have is a web application served up off my WS
(web server) and that application access my DS (db server) without
giving direct access to the user, so in this case, the DS is not
accessible by the users on the internet, to keep it secure.

I would like to build this with ASP is there a way to do this with
MySQL and ASP?

Thanks
Chuck

Jul 19 '05 #2
Sorry I should have noted that, I will be moving the WS outside of the
firewall, and have access through it. I basically want the code to
grab information on the backend and display it to the user.

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message news:<ef*************@TK2MSFTNGP09.phx.gbl>...
If your webserver and database server are on the same side of the firewall,
there's no issue. Just don't forward anything from the firewall to your db
server. There isn't any reason to, since the webserver is on the same side
as the db server.

Ray at work

"Chuck" <cv******@dslextreme.com> wrote in message
news:43**************************@posting.google.c om...
Here is my setup.

Netgear Router with a webserver and database server NAT'd behind the
firewall.

Microsoft Windows 2000, IIS 5 - Web Server
Microsoft Windows 2000, MySQL - Database Server

What I would like to have is a web application served up off my WS
(web server) and that application access my DS (db server) without
giving direct access to the user, so in this case, the DS is not
accessible by the users on the internet, to keep it secure.

I would like to build this with ASP is there a way to do this with
MySQL and ASP?

Thanks
Chuck

Jul 19 '05 #3

"Chuck" <cv******@dslextreme.com> wrote in message
news:43**************************@posting.google.c om...
Sorry I should have noted that, I will be moving the WS outside of the
firewall, and have access through it.
Do you have to move it outside? Can you not just open up port 80/443 on the
firewall and forward that traffic to the IIS server?
I basically want the code to
grab information on the backend and display it to the user.

I'm not sure what kind of options may exist in your Netgear router. I know
on my home router, a DLink, I can choose to open a port and forward traffic
to an internal IP, but that's the extent of the options. I can't do
anything like IPSec to only allow requests from specific IPs or subnets. I
believe that if your MySQL server is behind a firewall, all requests will
come from the Internet IP of the firewall, not the IP of the webserver.
But, if that were NOT the case, you could use IPSec to only allow traffic
from your IIS server's IP. One way you could test this is to install IIS on
your MySQL Server, make a page with "response.write
request.servervariables("remote_addr")" and load that page from your IIS
server. If you see the IIS server's IP as opposed to the firewall, you can
use IPSec (post back for info). If not, your web server will be the same as
any other machine on the Internet, and you will not be able to control
access. I'm 99% sure that the IP that you'll see will be that of the
firewall. So, if that's the case, I suggest rethinking the reasoning for
putting the IIS server outside of the firewall.

Ray at work


"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message

news:<ef*************@TK2MSFTNGP09.phx.gbl>...
If your webserver and database server are on the same side of the firewall, there's no issue. Just don't forward anything from the firewall to your db server. There isn't any reason to, since the webserver is on the same side as the db server.

Ray at work

"Chuck" <cv******@dslextreme.com> wrote in message
news:43**************************@posting.google.c om...
Here is my setup.

Netgear Router with a webserver and database server NAT'd behind the
firewall.

Microsoft Windows 2000, IIS 5 - Web Server
Microsoft Windows 2000, MySQL - Database Server

What I would like to have is a web application served up off my WS
(web server) and that application access my DS (db server) without
giving direct access to the user, so in this case, the DS is not
accessible by the users on the internet, to keep it secure.

I would like to build this with ASP is there a way to do this with
MySQL and ASP?

Thanks
Chuck

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: OsD | last post by:
I'm having trouble with the workflow described bellow: 1. Asp page 1 on server A contains an iframe. 2. Asp page 1 submits a form targeted to the iframe, to Asp page 2 on server B. 3. Asp page...
3
by: barak | last post by:
Hello, I'm writing a prototype for a web application. The architecture is SQL <--> IIS (<-->Browser). SQL <--> IIS are communicating through ADO ASP components on one hand, and stored procedures...
43
by: Davey | last post by:
I am planning on developing an application which will involve skills that I have very little experience of - therefore I would appreciate comments on my initial design thoughts. Overview on...
20
by: Keith G. Murphy | last post by:
I'm trying to get a feel for what most people are doing or consider best practice. Given a mod_perl application talking to a PostgreSQL database on the same host, where different users are...
59
by: Rico | last post by:
Hello, I have an application that I'm converting to Access 2003 and SQL Server 2005 Express. The application uses extensive use of DAO and the SEEK method on indexes. I'm having an issue when...
1
by: xcelmind | last post by:
Hello Dev. Guru, I want to at this time introduce myself. I am Stanley Ojadovwa by name. I’m a freelance and a newbie in web application development. I’m currently using ASP as my application...
4
by: Alex | last post by:
Hello, This is a follow-up to my earlier post about having issues with our application pool recycling. We currently use Session State InProc, but if I were to choose to move the existing...
11
by: Jeff | last post by:
Hello everyone. I've searched through the archives here, and it seems that questions similar to this one have come up in the past, but I was hoping that I could pick your Pythonic brains a bit. ...
5
by: Gav | last post by:
I'm writing a windows application (using C# VS 2005 Pro) to access a MS SQL database and although it is working fine (up to now) I'm not sure I'm going about it in the best way. Can anybody point...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.