Showing posts with label public. Show all posts
Showing posts with label public. Show all posts

Thursday, March 22, 2012

Best Practices Question

We have a small inventory database (<1GB). We have a public IIS Server and a
separate box SQL 2005 backend.
I have two ways I can deliver reports to the customer:
1.)create reports on the Reporting Server
2.)create them on the IIS Server locally (.rldc)
In each case I use the ReportViewer component to display them (so I either
connect the ReportViewer to Server Report or to a local .rdlc).
My question is, is it better to create reports on the report server or to do
them in the asp.net project locally -- an rdlc off a dataset?
Note load is very small so server power/capacity for both is not an issue in
this case.
Thank youAs far as executing them not much difference for your situation. However, it
is much easier to create reports for RS rather than local reports if you are
doing anything with subreports, drillthrough etc. You have to write code for
these situations which are handled for you automatically with RS. Also, no
such thing as preview report in development for rdlc. My advice if you go
the rdlc route is to at least develop most of the initial report using the
RS report designer (rather than the designer for rdlc that comes with VS).
Then once it is working (note that you do not need to have a server to
deploy to) rename the report from rdl to rdlc and then add it into your
project at that point.
Note that one thing that is easier with local reports is security, you
handle all that yourself.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"dev648237923" <dev648237923@.noemail.noemail> wrote in message
news:eADLneepGHA.2292@.TK2MSFTNGP05.phx.gbl...
> We have a small inventory database (<1GB). We have a public IIS Server and
> a separate box SQL 2005 backend.
> I have two ways I can deliver reports to the customer:
> 1.)create reports on the Reporting Server
> 2.)create them on the IIS Server locally (.rldc)
> In each case I use the ReportViewer component to display them (so I either
> connect the ReportViewer to Server Report or to a local .rdlc).
> My question is, is it better to create reports on the report server or to
> do them in the asp.net project locally -- an rdlc off a dataset?
> Note load is very small so server power/capacity for both is not an issue
> in this case.
> Thank you
>|||Thanks for Bruce's input,
Hi dev648237923,
I agree with Bruce. As for Local report(rdlc based), it has less
functionality comparing to the server-report(rdl based) supported by the
SQL server reporting service. Actually, local report(rdlc) is a pure .net
framework and Visual Studio 2005 specific solution which is completely
separated from the SQL Server reporting service. In other words, you can
use rdlc report totally without an SQL Server reporting service instance
existing in your environment.(All the rdlc can be created in Visual Studio
and the datasource can be created there, too). While for SSRS report, it
provides many rich support on subreports or drillthrough reports, also the
whole SQL Server reporting services supply us many other features like
custom extensions or some report delivery options. These ones are what we
can not easily do through local report.
For your scenario, I'm wondering whether your report rely heavily on those
SSRS service functionalities. If all of them can be done through client
reports without any difference from server reports. Why not use client
reports, that can make all the work done through Visual Studio without
involving SQL Server reporting service.
Here is a reportviewer Q/A article which mentions many client and server
reports' difference.
#ReportViewer Control in Visual Studio 2005
http://www.gotreportviewer.com/
Please feel free to post here if you have any other concerns or
consideration on this.
Regards,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)|||What you and Bruce said worked great -- thnaks for all the great info!
"Steven Cheng[MSFT]" <stcheng@.online.microsoft.com> wrote in message
news:86HUKzjpGHA.1572@.TK2MSFTNGXA01.phx.gbl...
> Thanks for Bruce's input,
> Hi dev648237923,
> I agree with Bruce. As for Local report(rdlc based), it has less
> functionality comparing to the server-report(rdl based) supported by the
> SQL server reporting service. Actually, local report(rdlc) is a pure .net
> framework and Visual Studio 2005 specific solution which is completely
> separated from the SQL Server reporting service. In other words, you can
> use rdlc report totally without an SQL Server reporting service instance
> existing in your environment.(All the rdlc can be created in Visual Studio
> and the datasource can be created there, too). While for SSRS report, it
> provides many rich support on subreports or drillthrough reports, also the
> whole SQL Server reporting services supply us many other features like
> custom extensions or some report delivery options. These ones are what we
> can not easily do through local report.
> For your scenario, I'm wondering whether your report rely heavily on those
> SSRS service functionalities. If all of them can be done through client
> reports without any difference from server reports. Why not use client
> reports, that can make all the work done through Visual Studio without
> involving SQL Server reporting service.
> Here is a reportviewer Q/A article which mentions many client and server
> reports' difference.
> #ReportViewer Control in Visual Studio 2005
> http://www.gotreportviewer.com/
> Please feel free to post here if you have any other concerns or
> consideration on this.
> Regards,
> Steven Cheng
> Microsoft MSDN Online Support Lead
>
> ==================================================> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>|||Thanks for the followup,
Glad that those information is of assistance.
Please feel free to post here if there is anything we can help & Have a
nice day!
Regards,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Wednesday, March 7, 2012

Best Method for Web Access to SQL

Hi,
I manage a public website for a bank. We just upgraded the website from a M
icrosoft Access database backend to a SQL Server database backend. I initia
lly installed SQL with Windows Authentication only. But then I ran into pro
blems when the website was
configured with Anonymous access because SQL Server was requiring a Windows
User ID and Password. I changed the security to use SQL Server authenticati
on, I created an account in SQL Server, and put the User ID and Password in
my connection string. Now
it works but I am concerned with the security. I don't know if the other SQ
L Server IDs are vulnerable to hacking, e.g. sa.
I was thinking it might be possible to use Windows Authentication only on th
e database and grant access to the IUSR_* account. But I didn't test this t
o see if it would work.
Which is the most secure method of securing SQL Server when the website is c
onfigured with Anonymous access? The current configuration described in the
first paragraph or something similar to what I described in the second para
graph? The website must be
configured with Anonymous access. That is one requirement I can not change.
KB articles would help me.
Thanks.
DaveAdd the IUSR_* account as a login on your SQL Server. Grant it access only
to the relevant databases and objects therein. If your SQL Server and IIS
server are on separate machines - as they should be - you'll need a domain
account for IUSR_*.
Tom
----
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinnaclepublishing.com/sql
.
"David" <david_eastes@.yahoo.com> wrote in message
news:CB7D44CE-A18F-41AA-BA9B-E60560743DE2@.microsoft.com...
Hi,
I manage a public website for a bank. We just upgraded the website from a
Microsoft Access database backend to a SQL Server database backend. I
initially installed SQL with Windows Authentication only. But then I ran
into problems when the website was configured with Anonymous access because
SQL Server was requiring a Windows User ID and Password. I changed the
security to use SQL Server authentication, I created an account in SQL
Server, and put the User ID and Password in my connection string. Now it
works but I am concerned with the security. I don't know if the other SQL
Server IDs are vulnerable to hacking, e.g. sa.
I was thinking it might be possible to use Windows Authentication only on
the database and grant access to the IUSR_* account. But I didn't test this
to see if it would work.
Which is the most secure method of securing SQL Server when the website is
configured with Anonymous access? The current configuration described in
the first paragraph or something similar to what I described in the second
paragraph? The website must be configured with Anonymous access. That is
one requirement I can not change. KB articles would help me.
Thanks.
Dave