We help IT Professionals succeed at work.

Retrieve SQL Data on Excel

AXISHK
AXISHK asked
on
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
Comment
Watch Question

EugeneZ ZhitomirskySQL SERVER EXPERT
CERTIFIED EXPERT

Commented:
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

Author

Commented:
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
EugeneZ ZhitomirskySQL SERVER EXPERT
CERTIFIED EXPERT

Commented:
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

Author

Commented:
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
SQL SERVER EXPERT
CERTIFIED EXPERT
Commented:
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 ..)

Explore More ContentExplore courses, solutions, and other research materials related to this topic.