Solved

Retrieve SQL Data on Excel

Posted on 2012-03-12
5
284 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 42

Expert Comment

by:Eugene Z
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:Eugene Z
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:
Eugene Z 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

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

Suggested Solutions

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

733 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