dbTalk Databases Forums  

Masking a column

comp.databases.sybase comp.databases.sybase


Discuss Masking a column in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
raghusql1@gmail.com
 
Posts: n/a

Default Masking a column - 10-27-2008 , 09:35 PM






Hi,
We are using Sybase 12.5.4 how to mask a column of a particular table,
plz provide any link or manual for the same.

Reply With Quote
  #2  
Old   
Carl Kayser
 
Posts: n/a

Default Re: Masking a column - 10-28-2008 , 04:07 AM







<raghusql1 (AT) gmail (DOT) com> wrote

Quote:
Hi,
We are using Sybase 12.5.4 how to mask a column of a particular table,
plz provide any link or manual for the same.
What do you mean by "mask"? Encrypt it? Perhaps revoking all privileges on
the table and granting privileges on a view that excludes the one column of
the table. However, inserts might not be doable since instead-of triggers
starts with 15.0.2. FGAC (license needed) might be another possibility.
12.5.4 documentation is at
http://infocenter.sybase.com/help/in....5.4/title.htm




Reply With Quote
  #3  
Old   
Carl Kayser
 
Posts: n/a

Default Re: Masking a column - 10-28-2008 , 04:07 AM




<raghusql1 (AT) gmail (DOT) com> wrote

Quote:
Hi,
We are using Sybase 12.5.4 how to mask a column of a particular table,
plz provide any link or manual for the same.
What do you mean by "mask"? Encrypt it? Perhaps revoking all privileges on
the table and granting privileges on a view that excludes the one column of
the table. However, inserts might not be doable since instead-of triggers
starts with 15.0.2. FGAC (license needed) might be another possibility.
12.5.4 documentation is at
http://infocenter.sybase.com/help/in....5.4/title.htm




Reply With Quote
  #4  
Old   
Carl Kayser
 
Posts: n/a

Default Re: Masking a column - 10-28-2008 , 04:07 AM




<raghusql1 (AT) gmail (DOT) com> wrote

Quote:
Hi,
We are using Sybase 12.5.4 how to mask a column of a particular table,
plz provide any link or manual for the same.
What do you mean by "mask"? Encrypt it? Perhaps revoking all privileges on
the table and granting privileges on a view that excludes the one column of
the table. However, inserts might not be doable since instead-of triggers
starts with 15.0.2. FGAC (license needed) might be another possibility.
12.5.4 documentation is at
http://infocenter.sybase.com/help/in....5.4/title.htm




Reply With Quote
  #5  
Old   
Carl Kayser
 
Posts: n/a

Default Re: Masking a column - 10-28-2008 , 04:07 AM




<raghusql1 (AT) gmail (DOT) com> wrote

Quote:
Hi,
We are using Sybase 12.5.4 how to mask a column of a particular table,
plz provide any link or manual for the same.
What do you mean by "mask"? Encrypt it? Perhaps revoking all privileges on
the table and granting privileges on a view that excludes the one column of
the table. However, inserts might not be doable since instead-of triggers
starts with 15.0.2. FGAC (license needed) might be another possibility.
12.5.4 documentation is at
http://infocenter.sybase.com/help/in....5.4/title.htm




Reply With Quote
  #6  
Old   
Carl Kayser
 
Posts: n/a

Default Re: Masking a column - 10-28-2008 , 04:07 AM




<raghusql1 (AT) gmail (DOT) com> wrote

Quote:
Hi,
We are using Sybase 12.5.4 how to mask a column of a particular table,
plz provide any link or manual for the same.
What do you mean by "mask"? Encrypt it? Perhaps revoking all privileges on
the table and granting privileges on a view that excludes the one column of
the table. However, inserts might not be doable since instead-of triggers
starts with 15.0.2. FGAC (license needed) might be another possibility.
12.5.4 documentation is at
http://infocenter.sybase.com/help/in....5.4/title.htm




Reply With Quote
  #7  
Old   
Carl Kayser
 
Posts: n/a

Default Re: Masking a column - 10-28-2008 , 04:07 AM




<raghusql1 (AT) gmail (DOT) com> wrote

Quote:
Hi,
We are using Sybase 12.5.4 how to mask a column of a particular table,
plz provide any link or manual for the same.
What do you mean by "mask"? Encrypt it? Perhaps revoking all privileges on
the table and granting privileges on a view that excludes the one column of
the table. However, inserts might not be doable since instead-of triggers
starts with 15.0.2. FGAC (license needed) might be another possibility.
12.5.4 documentation is at
http://infocenter.sybase.com/help/in....5.4/title.htm




Reply With Quote
  #8  
Old   
Carl Kayser
 
Posts: n/a

Default Re: Masking a column - 10-28-2008 , 04:07 AM




<raghusql1 (AT) gmail (DOT) com> wrote

Quote:
Hi,
We are using Sybase 12.5.4 how to mask a column of a particular table,
plz provide any link or manual for the same.
What do you mean by "mask"? Encrypt it? Perhaps revoking all privileges on
the table and granting privileges on a view that excludes the one column of
the table. However, inserts might not be doable since instead-of triggers
starts with 15.0.2. FGAC (license needed) might be another possibility.
12.5.4 documentation is at
http://infocenter.sybase.com/help/in....5.4/title.htm




Reply With Quote
  #9  
Old   
Carl Kayser
 
Posts: n/a

Default Re: Masking a column - 10-28-2008 , 04:07 AM




<raghusql1 (AT) gmail (DOT) com> wrote

Quote:
Hi,
We are using Sybase 12.5.4 how to mask a column of a particular table,
plz provide any link or manual for the same.
What do you mean by "mask"? Encrypt it? Perhaps revoking all privileges on
the table and granting privileges on a view that excludes the one column of
the table. However, inserts might not be doable since instead-of triggers
starts with 15.0.2. FGAC (license needed) might be another possibility.
12.5.4 documentation is at
http://infocenter.sybase.com/help/in....5.4/title.htm




Reply With Quote
  #10  
Old   
Bret_Halford
 
Posts: n/a

Default Re: Masking a column - 10-28-2008 , 09:45 AM



On Oct 27, 9:35*pm, raghus... (AT) gmail (DOT) com wrote:
Quote:
Hi,
We are using Sybase 12.5.4 how to mask a column of a particular table,
plz provide any link or manual for the same.
Please define "mask"?

Are you looking to prevent users from seeing certain data (you can
revoke select permissions at the column level, or create a view that
substitutes
some value for a column based on the user_id() of the person doing the
select.)
You can also upgrade to 15.0 and use the new encryption features. The
encryption
feature includes a default value provided to users without decrypt
permission.

Or are you trying to use a bit-mapped column (similar to
sysusages.segmap) and
mask certain bits? If so see the & and ^ operators

<int> & 1 returns 1 if bit 0 is on
<int> & 2 returns 2 if bit 1 is on, etc.
<int> & 3 returns 3 returns 1 if bit 0 is on and bit 1 is off, 2 if
bit 0 is off and bit 1 is on, and 3 if both bits are on...
[etc.]

-bret


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.