WEBVTT

00:02.080 --> 00:06.360
This lecture, we're going to take a look at how we can resolve the security issues that have been reported

00:06.360 --> 00:07.440
by Supabase.

00:07.640 --> 00:12.880
Before we actually trigger a deployment, I want to make sure that our application is as safe as possible.

00:12.920 --> 00:14.640
So what is this all about?

00:14.920 --> 00:21.040
Well, the thing is, there are security implications when using a service such as Supabase.

00:21.400 --> 00:23.800
And we want to make sure that we don't have any errors.

00:24.520 --> 00:27.720
So we're going to copy this particular issue here.

00:28.200 --> 00:32.440
And we're going to go to lovable and paste it here and say fix this.

00:33.040 --> 00:33.600
Let's see here.

00:33.640 --> 00:37.760
Issue table public columns is public.

00:37.760 --> 00:40.400
Our RLS has not been enabled.

00:41.440 --> 00:48.880
And the same we're going to do for the next one and copy the exact same issue with this information.

00:48.880 --> 00:51.520
Lovable should know exactly what needs to be done.

00:52.240 --> 00:57.080
Sometimes it's possible that this is handled automatically, and sometimes it's possible that this will

00:57.080 --> 01:01.720
appear as a security issue when trying to publish the project.

01:02.480 --> 01:08.600
We're going to be asked to apply some changes here to tell us that the SQL commands have been executed

01:08.600 --> 01:09.480
successfully.

01:10.560 --> 01:16.720
So let's see now if these warnings are going away from here, all you have to do is click here on refresh.

01:17.560 --> 01:19.840
We're going to see we have no errors anymore.

01:20.520 --> 01:26.040
Means if you go here to publish no security issues found, let's keep it that way.

01:26.600 --> 01:30.280
And then click on publish to publish this project.

01:31.320 --> 01:32.440
Project has been published.

01:32.440 --> 01:36.200
This is the link and this is how the application looks like.
