473,657 Members | 2,530 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2212
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******@dslex treme.com> wrote in message
news:43******** *************** ***@posting.goo gle.com...
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******* ******@TK2MSFTN GP09.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******@dslex treme.com> wrote in message
news:43******** *************** ***@posting.goo gle.com...
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******@dslex treme.com> wrote in message
news:43******** *************** ***@posting.goo gle.com...
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.w rite
request.serverv ariables("remot e_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******* ******@TK2MSFTN GP09.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******@dslex treme.com> wrote in message
news:43******** *************** ***@posting.goo gle.com...
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
1551
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 2 runs in the iframe and at some point might decide to submit a form targeted to the _top frame, to page 3 on Server B. 4. Page 3 loads in the top frame. This usually works well, but occasionally when page 3 loads various asp
3
1407
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 on the other hand (no direct access). I'm not sure if for this phase I should add an application server. If I will add it, it will be on the same box as the IIS. The application server can perform data caching and save redundant search accesses...
43
2825
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 system: I'm not going to divulge the exact aims of the application but the purpose of it is to allow multiple client applications to retrieve data from a database (on a db server) and feed this data into another Windows
20
6590
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 logging onto the web server using LDAP for authentication, do most people 1) have the web server connecting to the database using its own user account (possibly through ident), and controlling access to different database entities strictly through...
59
7490
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 the recordset opens a table. When I write Set rst = db.OpenRecordset("MyTable",dbOpenTable, dbReadOnly) I get an error. I believe it's invalid operation or invalid parameter, I'm
1
3062
by: xcelmind | last post by:
Hello Dev. Guru, I want to at this time introduce myself. I am Stanley Ojadovwa by name. I知 a freelance and a newbie in web application development. I知 currently using ASP as my application server technology with Microsoft access as my database source. Just as I have introduced myself, I知 a newbie in web application development. I知 currently working on an application that will allow
4
2152
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 application to SQL instead, would the only change in the application be the SessionState setting within web.config? I know I'd also need to setup our MS SQL database to handle sessions (detailed in MS Article 317604), but outside of this, is there...
11
4875
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. Here's a broad overview of what I need to do: cross-platform, client- side GUI apps that interact with a server backed by a database. I'd also like the possibility of having a web interface for small portions of the app. It will be a fairly...
5
14269
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 me to any good examples online that i can look at, found loads of web applications but struggling to find a good windows application example. thanks Gav
0
8325
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8844
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8742
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8518
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8621
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7354
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用lanning, coding, testing, and deployment謡ithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5643
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.