Author: way0utwest

  • Administering Securely

    This piece was originally published on Jul 8, 2009. It is being re-run as Steve is away on sabbatical.

    The other day I noticed a post where someone was asking a question that I’ve seen asked often. I still haven’t seen a great solution, and I expect this question will continue to be asked for some time to come. The poster asked how to securely set up a database to prevent administrators from accessing the data.

    Prior to SQL Server 2005 this was pretty much impossible. The sysadmin group was considered to be like a god inside the SQL Server and could access most anything. With 2005 there are more restrictions you can place on the administrator, and with the addition of encryption capabilities, you can prevent casual access to certain data.

    However it’s not easy, and most of the time the system administrator still has access to data for tuning, troubleshooting, disaster recovery, etc. That makes sense sometimes, and I feel that you really have to trust your administrator with a lot of responsibility and discretion. Sometimes, however, it’s just not appropriate for the person that runs the server to see other data. Salary information, among other data, sometimes just isn’t the business of the administrator.

    I don’t know how you handle this. Does the administrator just get access to the database as a container, able to attach it, back it up, restore it, and perform basic functions? Are they limited to setting security for users, but unable to access the objects themselves? I’m not even sure that’s a valid way to handle things since the administrator can always set up a dummy account for themselves, or change someone’s password and access data.

    To me the best solution for secure administrator access is to have a second person audit all actions performed by a sysadmin. Kind of a default trace for sysadmins that is always running, and is not accessible to the administrator. Even then, it’s probably only something that works in larger companies where you have enough people to dedicate to the task of reviewing things. Maybe policy based management (PBM) will help here at some point, limiting the access to data by administrators in an easy to understand manner that a manager of some sort can understand and audit.

    There’s no good solution now other than to trust your administrators to responsibly manage data, and that means hiring responsible people for the job.

    Steve Jones

     

  • Sabbatical–Day 30–Knocking off edges

    My company, Red Gate software, has given me a 6 week sabbatical. I’m documenting the time with all the posts under a tag if you want to follow along.

    Today is day 30, really giving me just 3 days (plus the weekend) to complete things. Actually only 2.5 days as I fly out Monday to the UK.

    I started today by uncovering things and marking out lines to taper the edges. My router bit should arrive tomorrow, and I’ll continue tapering, but for now I can get started by removing some wood.

    The pole isn’t perfect and has a touch of warp in it, but I guess it’s no worse than a single pole I might have bought.

    Photo Jul 10, 10 11 00 AM

    The plan doesn’t talk about this part, and the video says that a 3/4” line is what was removed, but with the top being 3” wide, I didn’t want to remove 3/4” from each side. I’d like to have 2” when I’m done, so I started with 1/2” at the top, moving to 3/4” at the end of the tapered part. The bottom 49” is straight, so I marked that and then chalked my lines.

    Photo Jul 10, 10 34 48 AM

    I made two lines on top, but I wasn’t thinking. The saw only tilts one way, so I used just the left one to cut a 45” angle from that side. I flipped the flagpole 90 degrees and repeated this four times. Here’s after the first cut

    Photo Jul 10, 11 36 12 AM

    At the end, I had a semi-tapered pole.

    Photo Jul 10, 11 36 25 AM

    As I completed each side, I also did some sanding, trying to smooth out the pole. I had mixed luck with my Harbor Freight, cheap belt sander. I’m considering buying another one tomorrow.

    Photo Jul 10, 10 54 42 AM

    With all that done, I inspected my work. I found a few spots that had space in them, which bothered me.

    Photo Jul 10, 11 36 37 AM

    I hemmed and hawed a bit, but decided to use some of the epoxy and fill them. I mixed some up, thinner than before and spread it. I sprinkled some filler on top and then blended it in with a brush to get it to fill gaps.

    Photo Jul 10, 12 01 52 PM

    I checked it after a few hours and it wasn’t perfect, but it looked much better. Tomorrow I’ll sand again and then taper with the router.

    No class tonight with other commitments for my daughter, so I’ll be pressed to work on my project when I get home from the UK.

  • Sabbatical – Day 29 – More Glue

    My company, Red Gate software, has given me a 6 week sabbatical. I’m documenting the time with all the posts under a tag if you want to follow along.

    I got started early today, not wanting the day to get away from me, as the sabbatical has. Not completely, but it looks like I’ll be struggling to finish the flagpole this week and Monday is it.

    Today I started by clamping down the top boards and checking the biscuit slots. I found problems.

    Photo Jul 09, 10 24 24 AM (1)

    The mark on the left is where I marked and cut the first slot. When the top didn’t fit, I removed a number of biscuits, lined things up and clamped them down. I then managed to re-mark (the right mark) and re-cut slots.

    With the lower board done, things lined up nicely. I left it clamped and did the upper board, re-cutting many more slots there. As you can see, they aren’t far off, but it’s enough to cause issues.

    Photo Jul 09, 10 24 21 AM (1)

    With that done, I decided to quickly mix more glue and then get the boards moving. Once again, no pictures of the process because I was wearing gloves and didn’t want to get the phone stuck to them. I mixed more glue (7 pumps), which was enough with a  touch left over.

    Photo Jul 09, 12 08 46 PM (1)

    The clamps went back on and with an afternoon commitment, I was in a hurry. This time I wished I had bought 10 more clamps Tuesday because these boards were more twisted. Not a ton, but more. As I looked later, a few spots were high and I am debating about mixing more glue and filling in spots.

    In any case, I had a completed, albeit rectangular, flagpole.

    Photo Jul 09, 12 08 55 PM (1)

  • Sabbatical Day 28 – More Tenons

    My company, Red Gate software, has given me a 6 week sabbatical. I’m documenting the time with all the posts under a tag if you want to follow along.

    With the heat and bad weather, and a few chores, I didn’t get much done during the day except for pulling off clamps and checking the glue on part of the flagpole. Things looked good, but I wasn’t able to cut biscuit slots this morning.

    I left for class early, and arrived in time to continue cutting tenons before the lecture started. With two classes missed by the instructor, I was sure we’d end up sitting for awhile.

    Photo Jul 08, 8 06 37 PM

    With everything spread out, I managed to cut more, but they weren’t much better. I really am struggling with this part of the class and it’s annoying.

    We had a lecture where we got the plans for our table (final project) as well as some time spent talking about how to buy wood and what to buy. It was interesting, but when we got to the math lesson for board-feet, normalizing a board into a volume for cost calculation, I had to sneak off to the restroom and a water break. I can do math, unlike quite a few of my classmates.

    With the lecture over, I was back to sawing and paring. I am getting better, and the instructor have me a few hints.

    Photo Jul 08, 8 13 33 PM (1)

    One of the more helpful hints, which the TA hadn’t mentioned, was using the chisel to chop the shoulder straight. That helped me get a few fitting better, though I still tend to rout them too thin. That plane is a challenge.

    I also used my square more to check how my cuts went. I think next week I’ll look to cut the tenons short and then chop them down to size.

    Photo Jul 08, 8 15 16 PM (1)