Google doesn't support organization schema as far as I have seen. Local Business schema works but organiozation schema is just recognized as local business schema for some of the examples on schema.org that I checked.
Please help if anyone has an idea about this.
Wrote a code for the organization with all the necessary properties and there is no error in the code when I checked the code in Rich Results Test but it gets recognized as logos schema. If I remove the link to logo then no schema is detected.
Related
I have an APEX application in which I need users(students) to be able to login and view their own information. I have both the usernames and passwords stored in a table within the database I'm using.
Is there a way of using these credentials to be able to log in individually? and how would I go about doing so?
I'm very new to APEX so sorry if this is an easy question.
Many thanks
Saying that each student has to see only their own data means - I presume (as it is about students) that there are as many database users (schemas) as students in your class.
If that's so, presuming that each of them will use their own Apex developer and its workspace (i.e. they won't share the workspace), I believe that you'll have to create that many Apex developers and assign each developer their own schema.
That should be done connected to the internal workspace, logged in as Apex admin.
However, as you have to create many users at once, that approach might be tedious. Instead, as you already have list of users stored in a table, you could utilize APEX_UTIL.CREATE_USER procedure and let it do the dirty job.
For example, if your table is MY_USERS, then such a script would do the job:
begin
for cur_u in (select username, password from my_users) loop
apex_util.create_user(p_user_name => cur_u.username,
p_web_password => cur_u.password
);
end loop;
end;
For more info, read this: https://docs.oracle.com/database/apex-18.2/AEAPI/CREATE_USER-Procedure.htm#AEAPI114
I would use a the Custom Authentication Scheme. It is documented, so if you need help, just clicked on the "?" buttons next to the various fields.
The example code is obviously not going to work, so please do not copy and paste blindly. Adapt it to your situation and hopefully, you are encrypting/hashing the passwords.
That gets you started with login (authentication). Next, to the second part of your question, that students should only see "their own information" (authorization). There are no clearcut answers to this question as there are many strategies available and many issues to consider. For example, how you design your application and data schema, what database features are available to you, and regulatory compliances that you need to meet.
A great starting point to read about these "database features" can be found here, on Real Application Security and Virtual Private Database.
The alternative includes a "poor man's implenentation of VPD" that Martin D'Souza wrote about a long time back.
HTH!
I'm trying to implement row level security permission to my data model. Because I'm using SQL Server 2012, I had to do this using views and users names joined with the views.
(That's not the point but to those who are interested in I paste the link which helped me to get desired effect
http://www.sqlservercentral.com/articles/Stairway+Series/128866/).
I've decided to restrict access using schemas permission. And everything works fine, however not for one scheme. My view includes selects to the tables in few schemes which I restricted. But, even when I disable access to the schema which is the problem (let's say it is "CDN" scheme), I cannot reference from my view to the table in the CDN scheme. I've found that this is the schema type "Database role" and the owner is CDN. If I change the owner of the CDN scheme to "dbo" which is "User" type, I can get to the schema in my view.
I don't know the difference between those types, but I wouldn't like to change the owner of CDN. Can someone give me any clues to solve to solve this problem?
Thanks in advance.
M.
I've found that when in roles >database roles of CDN in general tab I add schema from my view I can perform my view. But I don't know if this change is safe?
I may define the problem not correctly. I will redefine it:
My goal is to have restricted access to all tables and views, etc. in a database, except those in "Qlik" schema.
My views (in Qlik schema) connects to different schemas i.e. CDN, TBC, dbo
(Qlik.MyCostumersView - sample view):
SELECT a.CustId, a.Name, a.City, a.CreditLimit, a.SocialSecurityNumber, a.FelonyConvictions, a.UserAccess FROM CDN.Customer a, TBC.Struktura b, dbo.MPKDzial
And I can't get my goal under any circumstances.
I've found that I can manage with my access between schemas which has the same oweners. However CDN has the CDN as the owner. When I change the ownership to CDN in my other schemas, it works fine, unfortunatelly except with dbo schema (dbo owner).
Schemas and ownerships - picture
Friends i am working on a web project that is a free classified ad site. Its just like http://www.olx.com. I am not getting the idea of how http://www.olx.com.database is designed. can anyone help me in this regard. i just need the "big picture" not minor details. Means how they have structured their database in relation to their product/service categories and how data passes to database etc.
you can take reference from the below schema used in open source classified engine osclass
source:http://doc.osclass.org/Database_model_and_diagram
I'm working on a DB2 for i database (aka DB2/400), on a schema (library) named S.
Inside schema S, I create database tables, procedures etc. with user A. I need that also user B has all privileges on such new objects. So I granted all privileges to users A and B on schema S. But new objects don't inherit them!
So I tried many configurations: on System i Navigator I played with authorization lists, "New Objects" button on permissions dialog for schema S... but nothing worked.
How can I set kind of default permissions to be automatically inherited by new objects created in my schema?
The only working alternative I know is remembering to grant privileges to user B every time I create an object. Not so smart...
Security is a large topic. It's normally handled by an administrator; someone who is aware of the larger ramifications of altering permissions to libraries.
There are several related settings to consider. Since you're trying to secure individual objects, you probably have restricted public authority either by setting QSECURITY to *EXCLUDE, or changing the library's CRTAUT to *EXCLUDE.
If we want ALL newly created objects in this library to have the same authority, consider an authorization list. I know that you said you played wuth authorization lists, but you didn't specify what you did.
Create an authorization list. Authorise user A and B to the authorization list. CHGLIB myschema CRTAUT(myautl). Now each object in myschema will have the same authority.
I have IBM i 7.1.
If I create table using 5250 emulator, inside STRSQL, it works, inheriting schema authorization list.
If I create table using iSeries Navigator V5R4M0 (neither with right click on Tables > New > Table, nor with cwbundbs.exe), it doesn't work. Authorization list is not inherited...
So it seems to be a bug in iSeries Navigator. Maybe someone with a newer version of it could confirm us if this has been fixed.
Full details in the chat with #BuckCalabro.
I am new to schema, roles and user management part in sql server. Till now I used to work with simple dbo schema but now after reading few articles I am intrested in creating schema for managing my tables in a folder fashion.
At present, I want to create a schema where i want to keep my tables that have same kind of functionality. When I tries to create a schema then I faces a problem while using query, permissions etc.
First of all i want to get used to of using schemas then only I want to explore it. But due to initial stages and work pressure as well i m not able to implement it yet.
What can i do to start using schema with default permissions as that of dbo.
Also let me know about creating roles and assigning roles on these schema. I want all this to be accessible by sa user itself at present.
What is the concept behind all these things
Basically
The schema has an owner
Objects in different schemas can access each other with no extra permissions if they have the same owner
Please see my question here: "SQL Server: How to permission schemas?" and RBarryYoung's enlightening answer...