Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Basic Security via PDL

Hi,

I'm trying to add some basic security to a workbook, but which will check if
the user (via Application.UserName) exists in an Exchange PDL, and if it
does, then give them access

This is a template workbook and therefore saved thousands of times as
different file names... I need the PDL check to run live, so I can add more
users by adding them to the PDL, giving new users access to all previously
saved workbooks from the template and the template itself...

it's easy enough to imbed a list of users into the workbook/code, however,
adding a new user this way will only effect new files created from the new
template from that point on - the new user would not be able to access
existing files (not good)...

Before you ask, I cannot use the Rights Management functionality in Office,
as we do not have it installed, and I'm using additional code to render the
workbook useless unless macros are enabled...

Thanks in advance...
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 770
Default Basic Security via PDL

k1sr,

As far as the updating of new users goes, you should load the template from
an centrally available addin that can be updated to users' computers. You
could look at Charles Williams Addin Loader for help with that:

http://www.decisionmodels.com/downloads.htm#addload

hth,

Doug

"k1sr" wrote in message
...
Hi,

I'm trying to add some basic security to a workbook, but which will check
if
the user (via Application.UserName) exists in an Exchange PDL, and if it
does, then give them access

This is a template workbook and therefore saved thousands of times as
different file names... I need the PDL check to run live, so I can add
more
users by adding them to the PDL, giving new users access to all previously
saved workbooks from the template and the template itself...

it's easy enough to imbed a list of users into the workbook/code, however,
adding a new user this way will only effect new files created from the new
template from that point on - the new user would not be able to access
existing files (not good)...

Before you ask, I cannot use the Rights Management functionality in
Office,
as we do not have it installed, and I'm using additional code to render
the
workbook useless unless macros are enabled...

Thanks in advance...



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Basic Security via PDL

Thanks Doug...

This is all a little above me - not entirely sure how to use it, however, I
figure this will only work for access to the template, rather than files
previously created with the template before the new user was added...

This is my main issue - I need new users to be able access all historical
files created by the template...

Cheers


"Doug Glancy" wrote:

k1sr,

As far as the updating of new users goes, you should load the template from
an centrally available addin that can be updated to users' computers. You
could look at Charles Williams Addin Loader for help with that:

http://www.decisionmodels.com/downloads.htm#addload

hth,

Doug

"k1sr" wrote in message
...
Hi,

I'm trying to add some basic security to a workbook, but which will check
if
the user (via Application.UserName) exists in an Exchange PDL, and if it
does, then give them access

This is a template workbook and therefore saved thousands of times as
different file names... I need the PDL check to run live, so I can add
more
users by adding them to the PDL, giving new users access to all previously
saved workbooks from the template and the template itself...

it's easy enough to imbed a list of users into the workbook/code, however,
adding a new user this way will only effect new files created from the new
template from that point on - the new user would not be able to access
existing files (not good)...

Before you ask, I cannot use the Rights Management functionality in
Office,
as we do not have it installed, and I'm using additional code to render
the
workbook useless unless macros are enabled...

Thanks in advance...




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 770
Default Basic Security via PDL

k1sr,

I think you are right. What I'm thinking of requires an addin on their
computer that identifies some trait that distinguishes each of the workbooks
before, or as, they are opened. Many people use Custom Document
properties, which can be set on the template by right clicking in Windows
Explorer when the workbook is closed. But as you say, that doesn't help
now.

If the template and it's workbooks all contained a unique name then your
addin could check for that as the workbook opens.

At any rate, security that depends on the code in the workbook is flimsy
because they can always open the workbook with macros disabled.

Another approach would be to set the security through Windows. At my
workplace, I'd ask the IT person to create a security group in Active
Directory, to which I could add or delete users, much like your Personal
Distribution List. You, or the IT person, could then limit access to the
folders/files in question to that security group.

Sorry if you've thought of that already, but it's the best I've got.

Doug


"k1sr" wrote in message
...
Thanks Doug...

This is all a little above me - not entirely sure how to use it, however,
I
figure this will only work for access to the template, rather than files
previously created with the template before the new user was added...

This is my main issue - I need new users to be able access all historical
files created by the template...

Cheers


"Doug Glancy" wrote:

k1sr,

As far as the updating of new users goes, you should load the template
from
an centrally available addin that can be updated to users' computers.
You
could look at Charles Williams Addin Loader for help with that:

http://www.decisionmodels.com/downloads.htm#addload

hth,

Doug

"k1sr" wrote in message
...
Hi,

I'm trying to add some basic security to a workbook, but which will
check
if
the user (via Application.UserName) exists in an Exchange PDL, and if
it
does, then give them access

This is a template workbook and therefore saved thousands of times as
different file names... I need the PDL check to run live, so I can add
more
users by adding them to the PDL, giving new users access to all
previously
saved workbooks from the template and the template itself...

it's easy enough to imbed a list of users into the workbook/code,
however,
adding a new user this way will only effect new files created from the
new
template from that point on - the new user would not be able to access
existing files (not good)...

Before you ask, I cannot use the Rights Management functionality in
Office,
as we do not have it installed, and I'm using additional code to render
the
workbook useless unless macros are enabled...

Thanks in advance...






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Security dwake Excel Discussion (Misc queries) 1 December 16th 09 04:28 PM
VBE Security GB Excel Programming 1 July 11th 07 08:02 PM
Security The Rook[_2_] Excel Discussion (Misc queries) 4 May 9th 07 03:12 PM
Can I run Visual Basic procedure using Excel Visual Basic editor? john.jacobs71[_2_] Excel Programming 3 December 26th 05 02:22 PM
VBA Security Dave[_46_] Excel Programming 1 September 26th 04 04:59 PM


All times are GMT +1. The time now is 05:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"