Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Masking a column

 
   Database Help (Home) -> Sybase RSS
Next:  FROM Mrs SUSAN KABIRU  
Author Message
raghusql1

External


Since: Oct 27, 2008
Posts: 1



(Msg. 1) Posted: Mon Oct 27, 2008 8:35 pm
Post subject: Masking a column
Archived from groups: comp>databases>sybase (more info?)

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.

 >> Stay informed about: Masking a column 
Back to top
Login to vote
Carl Kayser

External


Since: Jan 01, 2007
Posts: 11



(Msg. 2) Posted: Tue Oct 28, 2008 6:07 am
Post subject: Re: Masking a column [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

wrote in message

> 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/index.jsp?topic=/com.sybase.help.ase....5.4/ti

 >> Stay informed about: Masking a column 
Back to top
Login to vote
Bret_Halford

External


Since: Jul 14, 2008
Posts: 10



(Msg. 3) Posted: Tue Oct 28, 2008 8:45 am
Post subject: Re: Masking a column [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Oct 27, 9:35 pm, wrote:
> 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
 >> Stay informed about: Masking a column 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Replace within a TEXT column - I have a text type column within which I wish to replace characters How should I achieve it. The character I need to replace is " (double-quote), with a single- quote (Sybase 12.5.3) Thanks

Text column copy across tables - Hi I have two tables with text columns. I wish to update text column in existing rows in TABLE1 using data present in the text column of a corresponding row in TABLE2. (The row in TABLE2 can be selected without referring to the text column values) ..

Problem with ASE 12.5 Backup Server - Hello everyone !!! My problem: I have recently installed ASE 12.5 on winxp. When I try to make a dump or load with isql or DBArtisan i get this message: "Can't open a connection to site 'SYB_BACKUP'. See the error log file in the SQL Server boot..

Tuning stored procedures - Hi Everyone; We are working on tuning a compact framework mobile application which uses the Sybase iAnywhere 9.0 as the database. Performance of the stored procedures have been really bad. But we are at our wits end trying to find out the Stored..

PERL DBI Sybase::DBD error --- Dynaloader.pm - Sybase.so - All - I hesitated to post this as I saw many similar postings in my trawlings. However I have been unable to determine the problem in relation to the answers I've seen for the similar problems. Basically I had a working version of DBI and Sybase:DBD..
   Database Help (Home) -> Sybase All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]