Is it more secure to encrypt separate customers’ data with separate keys?

If I am storing multiple customers’ data in cloud-based file storage such as an AWS S3 bucket, and I use an encryption service such as AWS KMS to achieve encryption at rest, does it add any extra security for me to store each customer’s data in a separate bucket and use a separate encryption key for each customer?

Or is it just as secure to encrypt all customer data with the same encryption key (provided the key is rotated regularly of course)?

Google Search Console: Separate Subdomain Property from Top Level Property

I’m working with a website and there’s a subdomain which I don’t have access to.

In Google Search Console, the “Property” consists of the entire domain, including this subdomain. (It’s all part of 1 Property).

The subdomain is handled by a different part of the company — and it has a bazillion issues which show up in Google Search Console for the domain as a whole.

I’d like to separate these two domains into two different Search Console properties so that the top level site doesn’t “see” the errors from the subdomain. And I’d like the subdomain to be its own property in Search Console.

(Also I’m a little afraid that the poor quality subdomain may be impacting the search performance of the top level domain? I’m not sure about this).

What I’ve done so far:

I used “Add Property” to add the subdomain to Search Console. That part was easy enough.

Now I have a listing for the top level domain and the subdomain.

What I want to do next

Is there a way to tell Search Console to then ‘ignore’ the subdomain from the main, top-level Search Console property?

Effectively this would give me two totally different Search Console properties. One for the top-level (minus the subdomain) and one for the subdomain.

Is this possible?

Java 2D Game-Building a TileMap from a Text File-> How to load a separate map

This is likely a very simple question, but I am very new to game development so I am running into some issues. I have a text file that I am using for my map for the tiles to be allocated. This works fine, but I am running into issues figuring out how I would go about loading in a different part of the map. For example, say I wanted the character to go into a cave or building, what would be a good way to go about loading this new area. Right now I have my handler class setting the world in my game state class, and I have tried messing around in the game state class to try and accomplish what I want but have not had much success. In that game state class I have a tick and render method, and in the constructor I have it being set The methods that I have tried have resulted in a new map to be loaded in, but the other map is still loaded in under this, and I know this because the character has collisions set up. This also goes along with this issue, but what would be a good way to trigger this loading of the new section of the map. Any help would be greatly appreciated. Below is the code in my GameState class. (changeWorld is based off of the X coordinate when in game, and once you reach a certain point it switched maps, this was just done for testing because it is not an accurate way of doing it).

World1 = new Worlds(handler,”resources/Worlds/world1.txt”);

SpawnWorld = new Worlds(handler,”resources/Worlds/world2″);

if(Worlds.changeWorld() == false) { handler.setWorld(World1);
}

else if(Worlds.changeWorld() == true){ World1=SpawnWorld; handler.setWorld(World1); entityManager.setPlayer(new Player (handler, 0,0));} }//end contructor

public void tick() {
if(Worlds.changeWorld() == false) { World1.tick();
} else if(Worlds.changeWorld() == true){ World1=SpawnWorld; handler.setWorld(World1); SpawnWorld.tick(); }
}//end tick

public void render(Graphics g) { if(Worlds.changeWorld() == false) { World1.render(g);}//end if

else if(Worlds.changeWorld() == true){         World1=SpawnWorld;         handler.setWorld(World1);         World1.render(g);      }//end graphics 

Separate table or a enum on a client?

I have several tables and many of them has a “status”, “measure_unit” and the like columns in them.

There’re 2 approaches to work with columns such as “status”.

  1. Create separate tables “statuses”, “measure_units” in database and reference to them from the main tables via a foreign key. Either by string/slug or by id. That is, these “statuses”, “measure_units” tables are ones with at most 10 records in them and they will be rarely modified.

  2. Create enums/structs “statuses”, “measure_units” on a client.

They both have their up- and downsides.

Which is more and better in different ways approach?

Store email in a separate Dimension or in a Degenerate Dimension?

I just started learning about dimensional modeling and I am creating a star to analyse email newsletter signups for an online business.

I have a fact table that records the signups and links to a contact dimension, traffic source dimension, page dimension and a junk dimension with various flags.

I also have a degenerate dimension with the signup ID of the source system.

But one of the pieces I can’t figure out where to put is the email address.

I won’t need it for filtering, but it will be good to have for when I dig into the data and show the signups.

The data high cardinality and contains about 70% unique emails and 30% duplicates.

Option 1: Junk Dimension

I considered putting it in the junk dimension, but that would swell the rows from ~1,000 to currently 133,000.

So that’s clearly a bad choice

Option 2: Email Dimension

But having a dimension with just one column doesn’t seem right. It would provide barely any space savings.

Option 3: Degenerate Dimension Another option is to put it as a degenerate dimension like one would do with natural keys. But my understanding is that you are only supposed to use degenerate dimensions for values that have a unique value for each fact row.

On top of that the that textual values should be avoided. Would 70% qualify for this?

Finally, probably the best option would be to record the email through the contact dimension and make it an SCD Type 2.

But I already have a contact dimension that’s an SCD Type 1 and currently don’t have the knowhow to implement and maintain a type 2 properly. On top of that the data is loaded once per day, so it wouldn’t account for a person who signs up with one email and changes it on the same day to another email before the ETL pulls the data.

Anyways, to make my question more clear I’d like to get guidance on…

  • Does it make sense to have a dimension table with just one column and almost as many rows as the fact table?
  • Is it ok to use degenerate dimensions for values that are not 1-to-1 in the fact table (but still high cardinality)?
  • How bad is it to add a text column to a fact table?

Is it a valid or acceptable practice to develop a separate page to meet accessibility requirements?

I recently visited some websites that seems to be using either deprecated technology (e.g. Flash) or contain a lot of complex front end javascript code to create the interaction of the user interface.

Some of these websites provide a link or button that takes you to a accessibility mode page which strips all the unnecessary features and provide just the content that is optimised for screen readers and provide other accessible features (e.g. keyboard navigation).

With accessibility being such a big focus today, and inclusive design slowly being incorporated into many of the standard design systems, is it still seen as an acceptable practice to provide a separate page to meet accessibility guidelines (i.e. WCAG 2.0)? Are there other reasons why this might be a better strategy/option in the current design and development culture?

Open message in modal or in separate page?

Unfortunately I can’t provide visual examples now, I hope that’s not a problem.

The question is simple: we have an inbox, which displays all the private messages a user has received, nothing new so far. When the user wants to open/read one of the messages, what should happen?

  • Open the message in a modal(if so, where should it be positioned? On the side of the screen, or in the middle of it? It only counts on desktop though)
  • Open it in a new page. Obviously for this we need to create a separate page for viewing single messages.

I also thought about maybe doing both, but I’m so not sure.

I know many say modal are a “no-go” in general, but let’s put that aside for now.

I’ve been thinking about it probably for days, but I can’t make up my mind, so I’d appreciate if you helped me out a bit.

In your experience, which one do you think would be a better way of doing it?