Solved

Retrieve SQL Data on Excel

Posted on 2012-03-12
5
281 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
combine an MS SQL string in Idera DM 9 27
SQL Server memory Issue 7 73
Convert int to military time 8 20
Test a query 23 0
In this article—a derivative of my DaytaBase.org blog post (http://daytabase.org/2011/06/18/what-week-is-it/)—I will explore a few different perspectives on which week today's date falls within using Microsoft SQL Server. First, to frame this stu…
I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how the fundamental information of how to create a table.

762 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

6 Experts available now in Live!

Get 1:1 Help Now