Solved

Retrieve SQL Data on Excel

Posted on 2012-03-12
5
282 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now