Re: Identity Column

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Jun 15, 8:37 am, "Tony Rogerson" <tonyroger...@xxxxxxxxxx> wrote:
Interesting, so....

        string sql = "SELECT * FROM [users] WHERE id = @id;";
        IDataReader reader = DbUtility.GetReader(sql, "@id", id);

When the users connects up to the database using Report Builder, Excel or
any other product that can execute queries they can get all the rows and
columns back from the [users] table.

Hell - what; now that really is secure!

Stored procedures everytime where you need security.....

Tony, you let your lack of experience talk for you. I don't use "small
business tools" like Access, Report Builder, or Excel so I can't speak
for that.
We have enterprise applications that go through a standard DAL (dal
per database, we get full object oriented properties). We don't use
"small business report tools", we use enterprise industry standards
like crystal reports that already make use of already well defined DAL
methods. The reports are already well defined for the end-user, this
isn't Access...the end user should not be "creating" reports in an
enterprise environment.

The idea of using stored procedure for security is just a "cowboy
coder" technique. It's for beginner-level DBA's who have no idea about
server hardening or lockdowns so they resort to 1980s standards.
You're better off powering down your database servers.
.



Relevant Pages

  • Re: why>?
    ... pivot can help to form these. ... Excel is WORTHLESS I mean you dipshits are the ones that need to get ... A database junkie who doesn't understand anything except how to ... produce a standardized, scalable, and replicable report, even if the ...
    (microsoft.public.excel)
  • Re: Batch Job for Oracle
    ... and have it dump as an excel spreadsheet whenever the user wants.. ... I wanted to ask for little tip about batch job for Oracle.. ... We have oracle database with some infos, and I need to create periodical ... to have client to get one report per month... ...
    (comp.databases.oracle.tools)
  • Re: Automatic Periodic Query Export
    ... > Settings\tli6\Desktop\today ecn report'. ... > transfering the query to an excel sheet) ... >> when the database is first opened. ...
    (microsoft.public.access.externaldata)
  • Re: Automatic Periodic Query Export
    ... Settings\tli6\Desktop\today ecn report'. ... Spreadsheet type: Microsoft Excel 8-10 ... > You can automate the running of such code by creating a macro (name it ... > when the database is first opened. ...
    (microsoft.public.access.externaldata)
  • RE: updated numbers in report
    ... for making an input to the database. ... textbox will be located alongside with the combobox where the belonging ... belonging query for the report. ... ElapsedTime([Date First Time Onboard], ...
    (microsoft.public.access.dataaccess.pages)