Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Security in Excel 2003

Is there a way to enforce domain in excel worksheet?

I have created a Sales report against a cube and want to enforce security
for each sales person to only see their data based on their login.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Security in Excel 2003

Excel has sub-optimal internal security. Anything that we can give you can be
defeated (with code easily available on the net). My recommendation would be
to ensure that only source data that the sales person is entitled to see is
included in the file that you give them. Not knowing where you source data is
coming from I really can not comment on the best way to proceed from here...
--
HTH...

Jim Thomlinson


"SAM" wrote:

Is there a way to enforce domain in excel worksheet?

I have created a Sales report against a cube and want to enforce security
for each sales person to only see their data based on their login.


  #3   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Security in Excel 2003

That is fine. I just need a way to test until we move the report to a better
secured method but currently I need to have the reports in excel to only show
data associated the sale person when they open the worksheet and cannot
access others.

I thought I could hide the employees dimension but that will remove the
current employee from the worksheet as well.

"Jim Thomlinson" wrote:

Excel has sub-optimal internal security. Anything that we can give you can be
defeated (with code easily available on the net). My recommendation would be
to ensure that only source data that the sales person is entitled to see is
included in the file that you give them. Not knowing where you source data is
coming from I really can not comment on the best way to proceed from here...
--
HTH...

Jim Thomlinson


"SAM" wrote:

Is there a way to enforce domain in excel worksheet?

I have created a Sales report against a cube and want to enforce security
for each sales person to only see their data based on their login.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Security in Excel 2003

There is no secure way to ditribute this file with the pivot table as the
pivot table holds the data for all of the employees. You can add whatever
protection you want but that protection is easily defeated. Perhaps you could
write code to iterate through all of the Employees and copy the sheet (values
and formats) to a new book. Name the book the employee name and save it with
each itteration. I have done something similar in the past for calculating
empoyee commissions and it worked very well. The code to iterate through each
member in a dimension is fairly easy... let me know if you want some help
with that...
--
HTH...

Jim Thomlinson


"SAM" wrote:

That is fine. I just need a way to test until we move the report to a better
secured method but currently I need to have the reports in excel to only show
data associated the sale person when they open the worksheet and cannot
access others.

I thought I could hide the employees dimension but that will remove the
current employee from the worksheet as well.

"Jim Thomlinson" wrote:

Excel has sub-optimal internal security. Anything that we can give you can be
defeated (with code easily available on the net). My recommendation would be
to ensure that only source data that the sales person is entitled to see is
included in the file that you give them. Not knowing where you source data is
coming from I really can not comment on the best way to proceed from here...
--
HTH...

Jim Thomlinson


"SAM" wrote:

Is there a way to enforce domain in excel worksheet?

I have created a Sales report against a cube and want to enforce security
for each sales person to only see their data based on their login.


  #5   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Security in Excel 2003

Thanks Jim. Yes could you provide sample code?

I created dimension security on the Virtual Cube for the Sales dept, when I
test the role it works but it is not enforce in excel as you have indicated.

I would like to try created different worsheets for each sales person to see
only their data. Then I will see if this satisfies their request.

I hope your suggestion will help with this request until we implement a
better web report solution for them. I am doing the same that you have done,
employee's sales and commission.

"Jim Thomlinson" wrote:

There is no secure way to ditribute this file with the pivot table as the
pivot table holds the data for all of the employees. You can add whatever
protection you want but that protection is easily defeated. Perhaps you could
write code to iterate through all of the Employees and copy the sheet (values
and formats) to a new book. Name the book the employee name and save it with
each itteration. I have done something similar in the past for calculating
empoyee commissions and it worked very well. The code to iterate through each
member in a dimension is fairly easy... let me know if you want some help
with that...
--
HTH...

Jim Thomlinson


"SAM" wrote:

That is fine. I just need a way to test until we move the report to a better
secured method but currently I need to have the reports in excel to only show
data associated the sale person when they open the worksheet and cannot
access others.

I thought I could hide the employees dimension but that will remove the
current employee from the worksheet as well.

"Jim Thomlinson" wrote:

Excel has sub-optimal internal security. Anything that we can give you can be
defeated (with code easily available on the net). My recommendation would be
to ensure that only source data that the sales person is entitled to see is
included in the file that you give them. Not knowing where you source data is
coming from I really can not comment on the best way to proceed from here...
--
HTH...

Jim Thomlinson


"SAM" wrote:

Is there a way to enforce domain in excel worksheet?

I have created a Sales report against a cube and want to enforce security
for each sales person to only see their data based on their login.




  #6   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Security in Excel 2003

Hi Jim,

I'm using this the code at the dimension level -

Filter([Employees].[Name].Members,[Employees].CurrentMember.Properties("Employee Login") = UserName
OR
[Employees].CurrentMember.Properties("Manager Login") = UserName)

"Jim Thomlinson" wrote:

There is no secure way to ditribute this file with the pivot table as the
pivot table holds the data for all of the employees. You can add whatever
protection you want but that protection is easily defeated. Perhaps you could
write code to iterate through all of the Employees and copy the sheet (values
and formats) to a new book. Name the book the employee name and save it with
each itteration. I have done something similar in the past for calculating
empoyee commissions and it worked very well. The code to iterate through each
member in a dimension is fairly easy... let me know if you want some help
with that...
--
HTH...

Jim Thomlinson


"SAM" wrote:

That is fine. I just need a way to test until we move the report to a better
secured method but currently I need to have the reports in excel to only show
data associated the sale person when they open the worksheet and cannot
access others.

I thought I could hide the employees dimension but that will remove the
current employee from the worksheet as well.

"Jim Thomlinson" wrote:

Excel has sub-optimal internal security. Anything that we can give you can be
defeated (with code easily available on the net). My recommendation would be
to ensure that only source data that the sales person is entitled to see is
included in the file that you give them. Not knowing where you source data is
coming from I really can not comment on the best way to proceed from here...
--
HTH...

Jim Thomlinson


"SAM" wrote:

Is there a way to enforce domain in excel worksheet?

I have created a Sales report against a cube and want to enforce security
for each sales person to only see their data based on their login.


  #7   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Security in Excel 2003

Do you know how to lock one cell versus the entire worksheet?

I don't want the sales person to be able to select another sales person from
the filter on the pivot table but if I protect the entire worksheet, they
cannot filter on the time and that is needed.

"SAM" wrote:

Is there a way to enforce domain in excel worksheet?

I have created a Sales report against a cube and want to enforce security
for each sales person to only see their data based on their login.


  #8   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Security in Excel 2003

I found that even if I unlock the desired cell wen I protect the worksheet,
it still does not provide what is needed because if they want to choose a
another time frame, pivot table has to refresh which violates the protection
worksheet.

It doesn't seem to be possible to accomplish what is needed. If you have any
ideas please let me know.

"SAM" wrote:

Do you know how to lock one cell versus the entire worksheet?

I don't want the sales person to be able to select another sales person from
the filter on the pivot table but if I protect the entire worksheet, they
cannot filter on the time and that is needed.

"SAM" wrote:

Is there a way to enforce domain in excel worksheet?

I have created a Sales report against a cube and want to enforce security
for each sales person to only see their data based on their login.


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
Excel 2003 / Blackberry - security maverick Excel Discussion (Misc queries) 1 January 21st 09 11:52 AM
Excel 2003-installing security updates HenryAlive Setting up and Configuration of Excel 0 January 2nd 08 08:18 AM
Can't install Security Update for Excel 2003 musiclover[_2_] Excel Discussion (Misc queries) 0 July 16th 07 08:28 PM
Excel 2003 security update, please help me! Eddy[_2_] Setting up and Configuration of Excel 1 June 17th 07 09:57 AM
How to disable Security Warning for Excel 2003 with NO macros Marjie Setting up and Configuration of Excel 2 November 1st 05 07:19 PM


All times are GMT +1. The time now is 01:30 AM.

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

About Us

"It's about Microsoft Excel"