Solved

Retrieve SQL Data on Excel

Posted on 2012-03-12
5
283 Views
Last Modified: 2012-03-24
I have build a Excel maro that could retrieve data from SQL and generate a managment. It works fine within the office.

I want the Excel could work even at home, without building up VPN or Terminal services. However, I don't want to open any port to the SQL Server for external access.

Is it possible to build a Web server with Visual Studio such that users will only call the web services and retrieve the result (recordset) to the users ? How to do the authentication as current, the user will input the user ID and password for our domain ?

Alternatively, is there any other solution to archive this purpose ?

Thanks
0
Comment
Question by:AXISHK
  • 3
  • 2
5 Comments
 
LVL 42

Expert Comment

by:EugeneZ
ID: 37712743
you can try DMZ
The demilitarized zone (DMZ) where you can find filtered traffic from both the inner and the outer network. This zone does not allow any connections directly into the internal network.


more:
Secure Architecture for an SQL / Web Server
http://www.windowsecurity.com/articles/secure_architecture_sql_web_server.html
0
 

Author Comment

by:AXISHK
ID: 37712808
Our setup is only a simple router without DMZ.  So prefer to consider a web serivces (with authentication) to access the SQL Server.... or other simlar alternative solution ..

Thanks
0
 
LVL 42

Expert Comment

by:EugeneZ
ID: 37713819
DMZ is recommended way..
if your IIS can be accessed from outside:
..try to put your Excel on  your Domain Secured IIS and run it
0
 

Author Comment

by:AXISHK
ID: 37717979
I have a cisco router that NAT an external IP to my internal IP address. So, should I configure my IIS to make it happen ??


Thanks
0
 
LVL 42

Accepted Solution

by:
EugeneZ earned 500 total points
ID: 37719191
yes- you can try to make your web site with excel visible to outside world (just remember about security , etc -> maybe https: will be better ..)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question