Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Data Authorization

Data Authorization

Scheduled Pinned Locked Moved C#
cssdatabasesecurityhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Adam Turner
    wrote on last edited by
    #1

    Does anyone have or know of a strategy for Data Authorization? I have a requirement to limit a list of records returned from the database depending on user-defined filters. E.g. a grid with employees is limited by the supervisor who is logged on. These filters can go to other tables etc. I was thinking about passing my DataSet to a class and let that class filter it for me but i wasnt sure to put it in the BLL or in the DAL. Thanks in advance for any help :) --Adam Turner

    R 1 Reply Last reply
    0
    • A Adam Turner

      Does anyone have or know of a strategy for Data Authorization? I have a requirement to limit a list of records returned from the database depending on user-defined filters. E.g. a grid with employees is limited by the supervisor who is logged on. These filters can go to other tables etc. I was thinking about passing my DataSet to a class and let that class filter it for me but i wasnt sure to put it in the BLL or in the DAL. Thanks in advance for any help :) --Adam Turner

      R Offline
      R Offline
      Rocky Moore
      wrote on last edited by
      #2

      It depends if you are ever going to use those records. If not, why bring them over the wire (assuming this goes over or could go over a wire) or consume memory. If it does not interact with, nor effect, the business logic and the user cannot modify the filter (only set when the user logs in or starts the program), I personally think it would seem best to handle it lower in the tiers such as DAL. Rocky Moore <><

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups